problems/risks due to programming language

Dennis Schmitz Dennis.Schmitz at f1505.n106.z1.fidonet.org
Thu Mar 1 07:37:18 AEST 1990


In an article of <23 Feb 90 03:17:30 GMT>, ok at goanna.oz.au (Richard O'keefe) writes:

 RO>and exiting from a loop.  I've lost count of the number of times I have
 RO>had to add a label, use a 'return', or restructure my program simply
 RO>because the place where I wanted to put a loop 'break' was inside a
 RO>switch.  The real pity of it is that BCPL used two different keywords

>From 'Microsoft C Language Reference' p.152,
=============
6.2 the break statement

break;

* execution

The break statement terminates the execution of the smallest enclosing do, 
for, switch, or while statement in chich it appears....
=============

So, why would you have to restructure your program?

Later,
dEN



More information about the Comp.lang.c mailing list