How about something like:

repeat until the number of items in tRnum = 5
put random(10) into tRand
if tRand is not among the items of tRnum then put tRand & comma after tRnum
end repeat


Cheers,

Mark

On 27 Jan 2005, at 10:34, [EMAIL PROTECTED] wrote:

repeat 5 times --generate list of 5 random numbers between 1-10
put random(10) & "," after tRnum
end repeat
delete last char of tRnum --delete last comma
put tRnum into fld "numbers"

_______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to