Derick Rethans wrote:
I will use it. << that good enough? :) But seriously, I have quite a few cases where I would use it if it was available.
same here ... i tried to avoid the current "break n;" where ever
possible as it is easy to run into a maintainance nightmare with
it (renumbering! this is so 80ies BASIC ...), so i tend to use
flag variables instead in cases where i need to terminate several
nested loops.
labeled breaks are *so* much better/cleaner than both approaches
above that i'd really love to have them ...
IMHO "break n;" is even more evil than "goto label;", it is almost
in the same league as "goto linenumber;" ...
--
Hartmut Holzgraefe, Senior Support Engineer .
MySQL AB, www.mysql.com