repeat with i=

Timothy Miller gandalf at doctorTimothyMiller.com
Fri Jul 15 18:40:23 EDT 2011


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



More information about the use-livecode mailing list