[Info-vax] VSI Community License Program - x86

Arne Vajhøj arne at vajhoej.dk
Tue Apr 11 13:42:01 EDT 2023


On 4/11/2023 1:14 PM, Richard wrote:
> Simon Clubley <clubley at remove_me.eisner.decus.org-Earth.UFP> spake the secret code
> <u144e7$2m92k$1 at dont-email.me> thusly:
>> On 2023-04-11, Richard <legalize+jeeves at mail.xmission.com> wrote:
>>>
>>> Nit: Not according to the standard.  F90/F95 removed no features and only
>>> "obsoleted" some features, which is why the compiler issued warnings
>>> and not errors.
>>
>> So which version of Fortran outright removed Hollerith constants ?
> 
> FORTRAN 77, according to wikipenis:tm:
> <https://en.wikipedia.org/wiki/Fortran#FORTRAN_77>

Yes.

But.

<quote>
APPENDIX_C:_HOLLERITH

           The  character  data  type  was  added  to  provide   a
           character  data  processing capability that is superior
           to the Hollerith data capability that existed  in  ANSI
           X3.9-1966.

           The  Hollerith  data  type  has  been   deleted.    For
           processors   that   extend  the  standard  by  allowing
           Hollerith data, the following rules  for  programs  are
           recommended:

...

           C2.  Hollerith_Constant

           The  form  of  a  Hollerith  constant  is  a   nonzero,
           unsigned,  integer constant n_ followed by the letter H,
           followed  by  a  string  of  exactly   n _   contiguous
           characters.   The  string may consist of any characters
           capable of representation in the processor.  The string
           of n_ characters is the Hollerith datum.

           In a Hollerith constant, blanks are significant only in
           the n_ characters following the letter H.


           C3.  Restrictions_on_Hollerith_Constants

           A  Hollerith  constant  may  appear  only  in  a   DATA
           statement and in the argument list of a CALL statement.
</quote>

VMS Fortran has always extended with this.

Arne




More information about the Info-vax mailing list