Infinite loops !

Sarah Reichelt sarah.reichelt at
Fri Feb 1 06:41:44 EST 2008

> I had a 2nd point in my question: is it possible to change the
> controls of my loop while it runs?
> Rene from Paris

Certainly. Consider something like this:

on doLoop
   put fld "HowHigh" into tSetting
   -- now do something with tSetting

   send "doLoop" to me in 1 second
end doLoop

If you change the value in the "HowHigh" field, the new value will get
used next item the loop happens. Because you are using "send" and not
a fixed loop, the system remains responsive between repeats and can
accept new data from any control (field, button, scrollbar etc).


More information about the Use-livecode mailing list