[J3] Program name
Van Snyder
van.snyder at sbcglobal.net
Wed Sep 25 01:31:48 UTC 2024
The program name is a global identifier.
Subclause 19.3.1p2 says a local identifier cannot be the same as a
program name.
Can the program name be used in any way whatsoever, other than on the
END PROGRAM statement?
Would any existing program be compromised if the program name were
added to the list of exceptions?
It's not a big problem to change a program name to be different from
any local identifiers in the program unit because it can appear in at
most two places, but it is an irritation to write a simple program with
a name like TRIM and then have to change it because the program
references that intrinsic function.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.j3-fortran.org/pipermail/j3/attachments/20240924/80bae53b/attachment.htm>
More information about the J3
mailing list