Re: New keyword added: continue
- Posted by Derek Parnell <ddparnell at bigpon?.?om> May 27, 2008
- 800 views
Kat wrote: > }}} <eucode> > :restart > for loop = 1 to 12 do > :retry > -- code > if blah then goto restart end if > if blorg then goto retry end if > if not x then goto exit end if > if CK then goto next end if > if worstcase then goto cleanup&return end if > -- code > :next > end for > :exit > </eucode> {{{ Hi Kat, just a few of quick questions ... ** How, as a maintainer of the code above, can I be sure that process flow only gets to the "restart:" label from either the statement immediately preceding it or the 'goto' inside the loop? In other words, how can I be sure that there is not another 'goto restart' elsewhere in the code? ** If I have to place another looping construct within the same scope as the one above, what should I call the labels? ** Under what circumstanes might I have to rename the labels? -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell