Wondering if anyone has an elegant way of exiting all the way out of a set
of nested repeat loops., e.g:
repeat for...
repeat for...
repeat for....
repeat for
if ..... then <I want to exit out of the outermost repeat loop
here>
end repeat
<do this and that>
end repeat
<do this and that>
end repeat
<do this and that>
end repeat
Right now, I set a flag to true when the exit condition is met then test it
in the <do this and that> stuff. Works fine but feels a little kludgy.
Pete
lcSQL Software <http://www.lcsql.com>
Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode