Xref: utzoo comp.lang.c:28550 comp.std.c:2947 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!unido!pcsbst! From: roland@cochise.pcs.com (Roland Rambau) Newsgroups: comp.lang.c,comp.std.c Subject: Re: loops in general Message-ID: <1990May8.125125.7601@pcsbst.pcs.com> Date: 8 May 90 12:51:25 GMT References: <1565@amethyst.math.arizona.edu> <682@bbxsda.UUCP> <13868@levels.sait.edu.au> Sender: @pcsbst.pcs.com Organization: PCS Computer Systeme GmbH Lines: 18 CCDN@levels.sait.edu.au (david newall) writes: ->Why not call a spade a spade? If you want an unconditional loop, then ->use a goto. It suffers no apparent ambiguity; it needs no optimisation; ->and it exactly expresses what you want. If I want an unconditional loop, I use a loop-statement! ( and I #define loop as for(;;) -- I too have seen while(1) to result in larger code ) The trouble with goto is that You need to introduce a name for the label, while with for(;;) the brackets are sufficient. And from Murphy's law follows: If you have a label, somebody will falsly jump to it. Roland Rambau rra@cochise.pcs.com, {unido|pyramid}!pcsbst!rra, 2:507/414.2.fidonet