Get help with using AutoHotkey and its commands and hotkeys
6 posts • Page 1 of 1
There's no such thing as a "named loop". What are you trying to achieve?
The documentation says they exist here: https://autohotkey.com/docs/misc/Labels.htm#named-loops
Read the continue and break pages and the examples.
Thanks for that link...learn something new every day here! I never heard of a named loop and never had a need for one in thousands of lines of AHK code with a ton of loops. But I can see its value with Break and Continue in nested loops. The doc on it is very good...says that a loop's label name (or an integer with its numeric nesting level) can be used to identify which loop (in the nested loops) that the Break or Continue applies to. Nice way to break out of an inner loop to the outermost loop...or any outer loop. Good stuff! That said, I haven't had a need for it...yet. Regards, Joedocumentation says they exist here
Who is online
Users browsing this forum: inseption86 and 31 guests