Issue 325 - Keyword Used as Parameter Name

To:	J3

From:	Craig Dedo

Date:	June 6, 2001

Subject:	Issue 325 - Keyword Used as Parameter Name

Issue

The editor writes:

Am I the only one who thinks it poor style for this example to use a parameter name that is the same as the name of a standard intrinsic? Are we trying to encourage such a confusing thing?

Analysis

Almost all authorities on programming style consider it very poor practice to use the names of language keywords or intrinsic procedures as names of data objects. We should change this example.

Edits

[414:8-11]	Replace the existing text with:

INTEGER, PARAMETER :: LONG_FLOAT = 8

REAL (LONG_FLOAT) :: X, Y

COMPLEX (LONG_FLOAT) :: Z

[414:14-15]	Change "FLOAT" to "LONG_FLOAT" in two places.

[414:18-22]	Delete Issue 325.

References

01-007r1, Fortran 2000 Draft

[End of J3 / 01-243]