Hi Dunbar, > In a message dated 1/18/11 3:30:03 PM, kl...@major.on-rev.com writes: >>> Break works OK. It just passes control to the end of the handler. The >>> docs say is acts like "exit", and it does. >> Could not find this in the docs! > > Per the dictionary: > The break command should not be used outside a switch structure: such use > is nonstandard,
Ah, I stopped reading right here :-) > so it may not be apparent to whoever reads the code that the > use is intentional. If it appears outside a switch structure, it has the > same effect as the exit control structure. Oh surprise, surprise! But since this is officially not official, I would never use it ;-) And since the engine might not be so forgiving in future releases you should not get used to it anyway! Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode