[J3] (SC22WG5.6266) Fortran 90 and BOZ literals
Steve Lionel
steve at stevelionel.com
Mon Aug 10 19:00:15 EDT 2020
I am working on a "Doctor Fortran" post about BOZ constants, and ran
across something very odd in Fortran 90:
R408 binary-constant is B ’ digit [ digit ] ... ’
or B
Constraint: digit must have one of the values 0 or 1.
R409 octal-constant is O ’ digit [ digit ] ... ’
or O
Constraint: digit must have one of the values 0 through 7.
R410 hex-constant is Z ’ hex-digit [ hex-digit ] ... ’
or Z
The text never explains what a bare B, O or Z means. This is gone in
Fortran 95 and I didn't see any mention of it in the three Fortran 90
corrigenda. What was this supposed to be? (If you get this on the J3
list, please reply to the WG5 list - thanks.)
Steve
More information about the J3
mailing list