home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!rpi!uwm.edu!ogicse!mintaka.lcs.mit.edu!ai-lab!life.ai.mit.edu!burley
- From: burley@geech.gnu.ai.mit.edu (Craig Burley)
- Newsgroups: comp.lang.fortran
- Subject: Re: Does your f77 compiler accepts this?
- Message-ID: <BURLEY.92Aug25163820@geech.gnu.ai.mit.edu>
- Date: 25 Aug 92 20:38:20 GMT
- Article-I.D.: geech.BURLEY.92Aug25163820
- References: <2873@tansei1.tansei.cc.u-tokyo.ac.jp> <92237.181234KGZXK@ASUACAD.BITNET>
- Sender: news@ai.mit.edu
- Organization: Free Software Foundation 545 Tech Square Cambridge, MA 02139
- Lines: 22
- In-reply-to: KGZXK@ASUACAD.BITNET's message of 25 Aug 92 01:12:34 GMT
-
- In article <92237.181234KGZXK@ASUACAD.BITNET> KGZXK@ASUACAD.BITNET (Zafer KADI) writes:
-
- The standard Fortran 77 does not except this kind of notation.
-
- WRITE(6,*)(A)
-
- Most of the compiler except it, but you may have problems with some.
-
- ANSI FORTRAN 77 does indeed accept (not "except") a statement like:
-
- WRITE (6,*) (A)
-
- What it doesn't accept is:
-
- READ (6,*) (A)
-
- The reason is that an output-list-item may be an expression, while an
- input-list-item may not.
- --
-
- James Craig Burley, Software Craftsperson burley@gnu.ai.mit.edu
- Member of the League for Programming Freedom (LPF)
-