break;
Displaying 1-8 of 8 total.
1
geronimo
|
how about break; ? that would help alot sometimes
Posted on 2004-04-14 08:05:48
|
mcgrue
|
in switch/cases? In VERGE, the break; is implied when a new case starts. It doesn't allow doubling up functionality by allowing bleed-through on cases.
Posted on 2004-04-14 09:53:03
|
Technetium
|
Some kind of break; would be helpful for for() loops, though, to get out of the loop without running the full length (i.e, if you are testing an array looking for a value, and only one of them needs to be true). There are other ways to do it, of course, but it would still be useful.
Posted on 2004-04-14 21:53:29
|
vecna
|
It would be useful, as would continue, they wont be in the next build but I think they're definitely 'doable' for the near future.
Posted on 2004-04-15 00:17:41
|
geronimo
|
SCORE! :D
Posted on 2004-04-15 06:22:54
|
Gayo
|
I can't use break; in loops. I was dissuaded from the practice by long and painful electroshock therapy. :(
Posted on 2004-04-18 21:06:47
|
Tatzen
|
OMG YOURE BREAKING THE FLOW OF THE CODE.
i use them a lot. theyre good.
Posted on 2004-04-18 23:08:39
|
geronimo
|
they are. with C it'd be compiled into a simple jump to the end of the loop code... nothing at all like gotos, if that's what you're thinking ;]
Posted on 2004-04-19 00:18:26
|