label scope
    Jarrett Billingsley 
    jarrett.billingsley at gmail.com
       
    Sun Nov  2 20:28:22 PST 2008
    
    
  
On Sun, Nov 2, 2008 at 11:22 PM, James <james at gmail.com> wrote:
> im trying something like
>
> labelx: foreach(...) {
>
>   foreach(..) {
>     continue labelx;
>   }
> }
>
> just curious, how is the scope of label name. i mean does labelx can be called outside this function or not, so that i wont mess up in naming stuffs
>
No, labels are local to the function.
    
    
More information about the Digitalmars-d-learn
mailing list