Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site sdcrdcf.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!petsd!pesnta!hplabs!sdcrdcf!jon
From: jon@sdcrdcf.UUCP (Jonathan Gingerich)
Newsgroups: net.lang.c
Subject: GOTO vs NON-GOTO clever tricks
Message-ID: <2359@sdcrdcf.UUCP>
Date: Fri, 20-Sep-85 16:13:23 EDT
Article-I.D.: sdcrdcf.2359
Posted: Fri Sep 20 16:13:23 1985
Date-Received: Mon, 23-Sep-85 02:48:06 EDT
Reply-To: jon@sdcrdcf.UUCP (Jonathan Gingerich)
Distribution: na
Organization: System Development Corp. R+D, Santa Monica
Lines: 3

a
A compact way to test that ch is not one of ('1','2','3','4','5','E') is:
	while (!index("12345E", ch = getch()))