At 8:16 PM +0100 11/8/01, bmmeili wrote: >Hi, what's wrong with this script? (It works fine in HC) > >on mouseup > put empty into cd field 1 > repeat until number of lines of card field 1 = 5 > put random (5) into a > find a in cd field 1 > if the result = "not found" then > put a & return after card field 1 > end if > end repeat >end mouseup > >What I'd like to manage is that the numbers between 1 and 5 could be found >in card field one, but each number only once and not ascending from 1 to 5.
try: sort lines of fld 1 by random(1000) gc
