[J3] (SC22WG5.6267) Fortran 90 and BOZ literals
Robert Corbett
rpcorbett at att.net
Mon Aug 10 23:06:10 EDT 2020
Sent from my iPhone
> On Aug 10, 2020, at 8:01 PM, Robert Corbett via J3 <j3 at mailman.j3-fortran.org> wrote:
>
> My printed copy of the ANSI
> Fortran 90 standard shows
> the single quote form of each
> BOZ constant followed by the
> double quote form. I suspect
> you are either having
> rendering problems, or you
> are working from a bad PDF
> file.
>
> Bob Corbett
>
>> On Aug 10, 2020, at 4:00 PM, Steve Lionel via J3 <j3 at mailman.j3-fortran.org> wrote:
>>
>> 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