[fpc-devel] Fwd: While - Otherwise Statement

wkitty42 at windstream.net wkitty42 at windstream.net
Mon Oct 12 21:11:18 CEST 2015


On 10/12/2015 02:02 PM, Dmitry Boyarintsev wrote:
>
> The next step would probably be controlled "break", where a user would be able
> to specify how many nested loops needed to broken from.

ROTFLMAO! if you need or desire something like that then set a breakcounter and 
break... in the next outer block, check breakcounter to see if you need to break 
again... if so, dec(breakcounter) and break... then check it again in the next 
outer block... and so on and so on until breakcounter=0... why should the 
compiler have to do your logic work for you? ;)

-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.



More information about the fpc-devel mailing list