Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1exp 10/6/83; site ihuxr.UUCP Path: utzoo!linus!decvax!harpo!eagle!mhuxi!houxm!ihnp4!ihuxr!lew From: lew@ihuxr.UUCP Newsgroups: net.lang.c Subject: Re: found, not found Message-ID: <704@ihuxr.UUCP> Date: Thu, 13-Oct-83 10:50:42 EDT Article-I.D.: ihuxr.704 Posted: Thu Oct 13 10:50:42 1983 Date-Received: Fri, 14-Oct-83 06:15:13 EDT Organization: AT&T Bell Labs, Naperville, Il Lines: 13 I usually write something like: for( i=0 ; i<100 ; i++ ){ if( found ){ action; break; } } if( i == 100 ){ /* not found */ other action; } Lew Mammel, Jr. ihuxr!lew