This one guarantees that each of the 6 random numbers is only used once. put "1,2,3,4,5,6" into x replace comma with cr in x repeat until (the number of lines of t) = 6 -- be cautious with until loops put random(6) into tLine if tLine is not among the lines of t then put (line tLine of x) & cr after t answer "whatever" && (line tLine of x) end if end repeat
˜Roger _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode