Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!deccrl!news.crl.dec.com!nntpd.lkg.dec.com!star.enet.dec.com!parke From: parke@star.enet.dec.com (Bill Parke) Newsgroups: comp.misc Subject: Re: How many different ASCII textfile formats are there? Message-ID: <23028@shlump.lkg.dec.com> Date: 30 May 91 19:49:43 GMT References: <1991May27.162515.665@looking.on.ca> <1991May29.174634.23343@csl.dl.nec.com> <23015@shlump.lkg.dec.com> <1991May30.174600.17855@unixg.ubc.ca> Sender: newsdaemon@shlump.lkg.dec.com Reply-To: parke@star.enet.dec.com (Bill Parke) Organization: Digital Equipment Corporation, Nashua NH Lines: 31 >From: buckland@cheddar.ucs.ubc.ca (Tony Buckland) >Newsgroups: comp.misc >In article <23015@shlump.lkg.dec.com> parke@star.enet.dec.com (Bill Parke) writes: >> ... my progam which worked correctly but was almost the death of >>a TA in my FORTRAN class. It included the statement "WRITE I=6". >> > > I'm surprised it didn't assign to WRITEI, since blanks are of no The significant part of the equation is that WRITE is 5 characters, and the DEC-10 word hpolds 5 ASCII characters and I turned on the bottom (36th) bit which told the compiler that "WRITE" was a line number, Therefor the compiler saw linenumber(WRITE) identifier(i) equals(=) constant(1) as the tokens from the line. It was most fun having loops that didnt by having: linenumber("DO 10") equation (i=1) Linenumber(",3) ended with: linenumber("10 ") tab-character equation(...) Made it real hard for someone to copy your homework from a listing. -- Bill Parke VMS Development decwrl!star.enet.dec.com!parke Digital Equipment Corp parke@star.enet.dec.com 110 Spit Brook Road ZK01-1/F22, Nashua NH 03063 The views expressed are my own.