:: Re: [DNG] Studying C as told. (For …
Kezdőlap
Delete this message
Reply to this message
Szerző: KatolaZ
Dátum:  
Címzett: dng
Tárgy: Re: [DNG] Studying C as told. (For help)
On Sat, Jun 25, 2016 at 09:27:40AM +0200, Edward Bartolo wrote:

[cut]

>
> execution continues from here
>
> This can still be done by something like this:
> do {
> if (test1) break;
> if (test2) break;
> if (test3) break;
> ...
> if (testN) break;
>
> more code here
> } while (0);
>
> execution continues from here
>


This can be even achieved using the switch/case statement....

HND

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]