Escaping from Repeat loops
Derek Bump
list at dreamscapesoftware.com
Thu Sep 13 13:30:04 EDT 2007
I'm coming into this thread a little late, but I have a question. I
have a repeat loop that looks something like this:
repeat xNumberOfTimes
global doCancelVariable
-- My Code Here
wait 1 tick with messages
if doCancelVariable = "true" then
exit to top
end if
end repeat
Within a "Cancel" button is a script that, when pressed, put's "true"
into the global variable "doCancelVariable".
Everything works as it should, except that after pressing the button,
the currently running script does not see that the global variable has
changed. Is there some way to see the change from the currently running
script?
Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com
More information about the use-livecode
mailing list