Sorry, I'm afraid I put a stupid error in my script: the second possibility should be:
> put "" into tLastOrder > put "" into tOrder -- they must of course be the same at the start !!!! > repeat until tOrder <> tLastOrder > put line(random(6)) of sOrderOfLines into tOrder > next repeat > put tOrder into tLastOrder > repeat with i = 1 to 3 > put line(item i of tOrder) of tPossibleAnswers into line i of fld"YourField" > next repeat Jacques _______________________________________________ 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