[net.lang.c] GOTO vs NON-GOTO clever tricks

jon@sdcrdcf.UUCP (Jonathan Gingerich) (09/20/85)

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