Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!van-bc!ubc-cs!unixg.ubc.ca!cheddar.ucs.ubc.ca!buckland From: buckland@cheddar.ucs.ubc.ca (Tony Buckland) Newsgroups: comp.misc Subject: Re: How many different ASCII textfile formats are there? Message-ID: <1991May30.174600.17855@unixg.ubc.ca> Date: 30 May 91 17:46:00 GMT References: <1991May27.162515.665@looking.on.ca> <1991May29.174634.23343@csl.dl.nec.com> <23015@shlump.lkg.dec.com> Sender: news@unixg.ubc.ca (Usenet News Maintenance) Organization: Computing Services, University of British Columbia Lines: 18 Nntp-Posting-Host: cheddar.ucs.ubc.ca 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". > >Hint, it correctly assigned 6 to I and yealded no compile errors. I'm surprised it didn't assign to WRITEI, since blanks are of no significance in FORTRAN outside character constants. A famous example of the consequences is the substitution for DO 1 I = 1,10 of DO 1 I = 1 10 which turns a DO-loop control statement into an assignment statement because of an omitted comma.