random

liamlambert liamlambert at mac.com
Sun Mar 12 19:52:14 EST 2006


I have this code for a random number in 6
fld's how do I stop the same number form appearing
in more then one fld

put "1a,2a,3a,4a,5a,6a" into tFieldNames
  repeat for each item tfield in tFieldNames
   put the random of 45 into trandom
   put trandom into fld tfield
   end repeat

Liam Lambert
liamlambert at mac.com
IRELAND





More information about the use-livecode mailing list