C programming style
LINNDR%VUENGVAX.BITNET at WISCVM.WISC.EDU
LINNDR%VUENGVAX.BITNET at WISCVM.WISC.EDU
Mon Sep 1 13:31:28 AEST 1986
Since I am currently in a situation where I need the sort of behavior
described by Jeff Cavallaro in the original posting (an N step process
with abort on any failed step), I reread his text. I'm not read sure
how his example that "significantly upsthe routine count" is different
his preferred style example. In fact, his preferred style example look to
me to be what the compiler will actually produce for the
if (step1() && step2() && ... && stepn())
example (which I have simplified here by assuming that each step returns
a 1 for success).
More information about the Comp.lang.c
mailing list