Oh noooooo!!
Doug Gwyn
gwyn at smoke.BRL.MIL
Sat Sep 9 10:24:30 AEST 1989
In article <9511 at chinet.chi.il.us> john at chinet.chi.il.us (John Mundt) writes:
- if ((Block0 = AllocateMemory ()) != null
- && (Block1 = AllocateMemory ()) != null
- && (Block2 = AllocateMemory ()) != null)
-The above code does exactly the same thing, and avoids the dreaded
-goto! I think it is just as clear as the goto coding.
But it was just an example. Often in practice there are non-trivial
operations between the several points of possible failure.
More information about the Comp.lang.c
mailing list