https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98825

--- Comment #6 from Jerry DeLisle <jvdelisle at charter dot net> ---
I found the DEC F77 reference.  I wanted to capture this somewhere for future
reference:

o  MESSAGE:  Extension to FORTRAN-77:  nonstandard FORMAT
     statement item

     EXPLANATION:  The following format field descriptors are
     extensions to FORTRAN-77:

        Descriptor      Aspect
        ----------      ------
            $           All forms
        A,L,I,F,E,G,D   Default field width forms
            P           Without scale factor

and then:

$

 In a format specification, the dollar sign character ($) modifies
 the carriage control specified by the first character of the
 record.  It only affects the files for which the 'FORTRAN' carriage
 control attribute is in effect.

 On U*X systems, it also affects files if 'LIST' is in effect.

 In an input statement, the $ descriptor is ignored.

 In an output statement, the following rules apply:

    - If the first character of the record is 0, 1, or
      ASCII NUL, the $ descriptor is ignored.

    - If the first character of the record is a space or
      plus sign (+), the $ descriptor suppresses carriage
      return (after printing the record).

 For terminal I/O, whenever trailing carriage return control is
 suppressed by the $ descriptor, a typed response follows output on
 the same line.

I am working on it.

Reply via email to