home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!mips!think.com!Think.COM!sandee
- From: sandee@Think.COM (Daan Sandee)
- Newsgroups: comp.lang.fortran
- Subject: Re: Using ! to denote a comment
- Date: 21 Jul 1992 20:57:20 GMT
- Organization: TMC
- Lines: 16
- Distribution: world
- Message-ID: <14htngINNi6v@early-bird.think.com>
- References: <21JUL199214442858@summa.tamu.edu>
- NNTP-Posting-Host: telecaster.think.com
-
- In article <21JUL199214442858@summa.tamu.edu>, elo9246@summa.tamu.edu (LaNelle Ohlhausen) writes:
- |> I have seen ! used in a program line in VAX fortran to denote that
- |> everything following the ! is a comment, e.g.:
- |>
- |> x=x+1 ! This is a comment
- |>
- |> Is this standard Fortran 77 or is it a VAX extension only?
-
- It is not standard Fortran 77.
- It is an extension found in many compilers, e.g. DEC or Cray or TMC.
- Your compiler should tell you about this when you turn on the appropriate
- option to flag non-ANSI usage, or whatever the manual calls it.
-
- Daan Sandee sandee@think.com
- Thinking Machines Corporation
- Cambridge, Mass 02142 (617) 234-5044
-