2017-03-07 2 views

Répondre

2

GREL n'a pas random fonction, mais vous pouvez utiliser Python/Jython à la place:

import random 

# return a random integer between 0 and 1000 
return value + str(random.randint(0, 1000)) + ".html" 

Exemple:

enter image description here

+0

Merci @ostephens sur twitter partagé un solution similaire quant à lui: importation aléatoire random.randint de retour (1,9) Source: https://twitter.com/hauschke/status/839110740795666433 –

+1

Owen est le meilleur utilisateur d'affiner la recherche Ouvrir Je sais, et je Je suis fier d'avoir été plus rapide cette fois. ^^ –