Please consider offering useful answers to these questions!
g77 treats constants like `Z'ABCD'' and `'ABCD'Z'
as typeless.
It seems like maybe the prefix-letter form, `Z'ABCD'', should
be `INTEGER' instead.
You can test for yourself whether a particular compiler treats
the prefix form as `INTEGER' or typeless by running the
following program:
EQUIVALENCE (I, R) R = Z'ABCD' J = Z'ABCD' IF (J .EQ. I) PRINT *, 'Prefix form is TYPELESS' IF (J .NE. I) PRINT *, 'Prefix form is INTEGER' ENDIf you wish to report the results of this test to the maintainers of
g77, please include full information
on the compiler, system, and version information you're
using.
(We already know how g77 handles it, of course.)
Perhaps this will be changed in version 0.6.
Go to the first, previous, next, last section, table of contents.