Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site utah-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!utah-cs!brownc From: brownc@utah-cs.UUCP (Eric C. Brown) Newsgroups: net.lang.c Subject: Re: C Style Message-ID: <3470@utah-cs.UUCP> Date: Fri, 13-Sep-85 11:57:12 EDT Article-I.D.: utah-cs.3470 Posted: Fri Sep 13 11:57:12 1985 Date-Received: Sat, 14-Sep-85 16:55:42 EDT References: <180@chinet.UUCP> Reply-To: brownc@utah-cs.UUCP (Eric C. Brown) Organization: Univ of Utah CS Dept Lines: 17 In article <180@chinet.UUCP> rlk@chinet.UUCP (Richard L. Klappal) writes: > Which of the following code segments is more understandable, > (readable, structured, etc) given the current attitudes > about the presence of goto's in programming? > Well, neither. how about for ( ch = getch(); ch < '1' || ch > '5') && ch != 'E'); ch = getch()) putchar(BELL); addch(ch); refresh(); which ought to do the same thing. Eric C. Brown brownc@utah-cs ..!{decvax, ihnp4}!utah-cs!brownc