Loop semantics: FOR C := A TO B DO ...

Doug Gwyn gwyn at smoke.BRL.MIL
Sat Feb 4 16:34:45 AEST 1989


In article <763 at csd4.milw.wisc.edu> markh at csd4.milw.wisc.edu (Mark William Hopkins) writes:
>Of course, if you want to avoid duplication, you can go something like this:
>	      for (c = a; c <= b; if (c < b) c++) <Body>

There is a solution but that ain't it.



More information about the Comp.lang.c mailing list