Multi-Level Break?

Xinok xnknet at gmail.com
Sat Jan 6 21:41:28 PST 2007


I'm sure this is something that has been discussed time and time again, but I think D should have a multi-level break. I don't know PHP well, but I found out it it's one of a few languages (if not the only language) that has this feature. Example here:
http://phpbuilder.com/manual/control-structures.break.php

break 2; // Multi-Level Break

This is something which could also be applied to the continue keyword:
continue 2; // Breaks the current loop, and continues the outer loop



More information about the Digitalmars-d mailing list