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