home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / fortran / 4228 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.0 KB  |  25 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!saimiri.primate.wisc.edu!caen!hellgate.utah.edu!lanl!cochiti.lanl.gov!jlg
  3. From: jlg@cochiti.lanl.gov (J. Giles)
  4. Subject: Re: Z'hexno' gives compilation errors
  5. Message-ID: <1992Nov6.184845.3962@newshost.lanl.gov>
  6. Sender: news@newshost.lanl.gov
  7. Organization: Los Alamos National Laboratory
  8. References:  <1992Nov5.163755.18693@rtsg.mot.com>
  9. Date: Fri, 6 Nov 1992 18:48:45 GMT
  10. Lines: 13
  11.  
  12. BOZ constants are not in the Fortran 77 standard.  Although the
  13. Fortran 90 standard allows them, the example given here was explicitly
  14. stated to be an `f77' compiler.
  15.  
  16. (BOZ: Binary, Octal, and Z-hexadecimal.  The syntax is to begin the
  17. constant with the corresponding letter - B, O, or Z - and follow with
  18. a numeric literal limited to the appropriate digit set and enclosed
  19. in apostrophes.  Z was chosen instead of the more natural H or X in
  20. order that the letter be available as the format specifier for hex:
  21. H and X already had meanings there.)
  22.  
  23. -- 
  24. J. Giles
  25.