Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!CUVMB.BITNET!JAUUS From: JAUUS@CUVMB.BITNET Newsgroups: comp.lang.asm370 Subject: reading, checking, reading Message-ID: <9003220125.AA23418@lilac.berkeley.edu> Date: 22 Mar 90 01:14:42 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 15 I have an SMOP with which I'm having trouble. I want to do the following: read in one line from a file, compare it to something, if it's something ok, then read to the rest of the file, else skip 3 lines, then read to the 2nd to last line of the file. Any ideas? I'm a novice at this, I'm open to suggestions. //jbaltz -- Jerry B. Altzman jbaltz@cunixf.cc.columbia.edu jauus@CUVMB NEVIS::JBALTZ (HEPnet) +1 212 854 8058