repeat with i=

Pete pete at mollysrevenge.com
Fri Jul 15 18:56:41 EDT 2011


Sounds like the best solution.  Thanks for posting the question - I learend
about "delete", "any", and more about "sort"!
Pete
Molly's Revenge <http://www.mollysrevenge.com>




On Fri, Jul 15, 2011 at 3:40 PM, Timothy Miller <
gandalf at doctortimothymiller.com> wrote:

> Thanks for all the suggestions.
>
> I think I'll go with:
>
> on mouseUp
>  local theNums
>  put "1,2,3,4,5,6" into theNums
>  sort  items of theNums numeric by random(1000000)
>  repeat with i = 1 to 6
>        do "whatever" & item i of theNums
>  end repeat
> end mouseUp
>
> This is probably erroneous but possibly the right general idea. There are
> better ways to do it, no doubt. The advantage is I'll understand it if I
> have to work on it again.
>
> Best regards,
>
>
> Tim
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>



More information about the use-livecode mailing list