[J3] (SC22WG5.6268) Fortran 90 and BOZ literals
Robert Corbett
rpcorbett at att.net
Tue Aug 11 03:58:31 EDT 2020
Can you try using Adobe's Acrobat
reader? Adobe Acrobat often
correctly renders documents other
readers do not handle properly.
The fact that the error seems to
happen where a double quote is
meant to appear is suspicious.
It might be that the PDF file
provided by ISO is flawed, but my
guess is that the file is fine.
Regardless of the printing process,
it seems clear that what I see in the
printed version of the standard is
correct. The text I see is the same
as the corresponding text in the
Fortran 95 standard.
Bob Corbett
> On Aug 11, 2020, at 12:01 AM, Shterenlikht, Anton via J3 <j3 at mailman.j3-fortran.org> wrote:
>
> I'm looking at N692 with a mac Preview Version 10.1 (944.6.16.1)
> and see exactly the same as Steve.
>
>> On 11 Aug 2020, at 04:01, 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