switch statement

brian_helterline brianh at hpcvia.CV.HP.COM
Fri Mar 16 02:05:45 AEST 1990


/ hpcvia:comp.lang.c / hascall at cs.iastate.edu (John Hascall) / 12:14 pm  Mar 13, 1990 /
/* If you REALLY hate fall-through on switch statements... */

>#define when       break;case
>#define or         : case
>#define otherwise  break;default
> { example deleted }

But everyone knows

#define or	||

is the true meaning ;)



More information about the Comp.lang.c mailing list