home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / fortran / 2781 < prev    next >
Encoding:
Text File  |  1992-07-21  |  870 b   |  25 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!tamsun.tamu.edu!summa.tamu.edu!elo9246
  3. From: elo9246@summa.tamu.edu (LaNelle Ohlhausen)
  4. Subject: Using ! to denote a comment
  5. Message-ID: <21JUL199214442858@summa.tamu.edu>
  6. News-Software: VAX/VMS VNEWS 1.41    
  7. Sender: news@tamsun.tamu.edu (Read News)
  8. Organization: Texas A&M University, Academic Computing Services
  9. Date: Tue, 21 Jul 1992 19:44:00 GMT
  10. Lines: 13
  11.  
  12. I have seen ! used in a program line in VAX fortran to denote that
  13. everything following the ! is a comment, e.g.:
  14.  
  15.     x=x+1    ! This is a comment
  16.  
  17. Is this standard Fortran 77 or is it a VAX extension only?  I have used
  18. this structure in some code which I'm compiling with Cray Fortran77, and it 
  19. compiles and seems to run OK, but I want to make sure.  I can't find it in
  20. my usual references...
  21.  
  22. Thanks--
  23.  
  24. LaNelle Ohlhausen
  25.