Re: Fortran 77 alphabet character $



On May 29, 10:07 am, glen herrmannsfeldt <g...@xxxxxxxxxxxxxxxx>
wrote:
Arjen Markus wrote:
If I remember correctly, some compilers allowed the use
of a $ sign as an extension. It was allowed only as the
first character. I do not know what the default type
would have been.

I first knew it in the OS/360 Fortran compilers.
It is a letter, allowed anywhere in variable names,
which comes after Z.  Default is REAL*4.  I have
seen:

       IMPLICIT REAL*8 (A-H,O-$)

(snip)

PL/I allows @, #, and $ as alphabetic characters.

-- glen

In some operating systems, system services (OS API) calls began with a
$ (written in assembly or other languages that did allow $ in names)
so if you wanted to call a system service, you either needed to allow
$ or you needed an aliasing facility.
.



Relevant Pages

  • Re: Fortran 77 alphabet character $
    ... some compilers allowed the use ... of a $ sign as an extension. ... often as the first character ... Make sure that there is no overlap with existing ...
    (comp.lang.fortran)
  • Re: Fortran 77 alphabet character $
    ... Arjen Markus wrote: ... of a $ sign as an extension. ... first character. ... PL/I allows @, #, and $ as alphabetic characters. ...
    (comp.lang.fortran)