home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!tamsun.tamu.edu!summa.tamu.edu!elo9246
- From: elo9246@summa.tamu.edu (LaNelle Ohlhausen)
- Subject: Using ! to denote a comment
- Message-ID: <21JUL199214442858@summa.tamu.edu>
- News-Software: VAX/VMS VNEWS 1.41
- Sender: news@tamsun.tamu.edu (Read News)
- Organization: Texas A&M University, Academic Computing Services
- Date: Tue, 21 Jul 1992 19:44:00 GMT
- Lines: 13
-
- 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? I have used
- this structure in some code which I'm compiling with Cray Fortran77, and it
- compiles and seems to run OK, but I want to make sure. I can't find it in
- my usual references...
-
- Thanks--
-
- LaNelle Ohlhausen
-