switch.and.case

Richard O'Keefe ok at edai.UUCP
Thu Jun 14 01:20:41 AEST 1984


    My word, what a horrible piece of code!
My understanding is that "case <constant expr>:" and "default:"
are just as much like labels as they can possibly be.  The only
difference between the body of a switch and any other compound
statement is the way you (ugh) jump into it.  Think of it as a
GOTO label(expr); statement in PLurry/Idiotic.
    Best advertisement for Pascal I've ever seen (and I *like* C).



More information about the Comp.lang.c mailing list