From JLS@liverpool.ac.uk Wed Nov 25 10:01:22 1992
Received: from vm.uni-c.dk by dkuug.dk with SMTP id AA02076
  (5.65c8/IDA-1.4.4j for <SC22WG5@DKUUG.DK>); Wed, 25 Nov 1992 11:07:16 +0100
Received: from vm.uni-c.dk by vm.uni-c.dk (IBM VM SMTP V2R2) with BSMTP id 5867;
   Wed, 25 Nov 92 11:08:32 DNT
Received: from UKACRL.BITNET by vm.uni-c.dk (Mailer R2.07) with BSMTP id 9102;
 Wed, 25 Nov 92 11:08:31 DNT
Received: from RL.IB by UKACRL.BITNET (Mailer R2.07) with BSMTP id 2920; Wed,
 25 Nov 92 10:06:22 GMT
Received: from RL.IB by UK.AC.RL.IB (Mailer R2.07) with BSMTP id 1135; Wed, 25
 Nov 92 10:06:21 GMT
Via:         UK.AC.LIV.MAIL; 25 NOV 92 10:06:19 GMT
Received: from ibm.liverpool.ac.uk by mailhub.liverpool.ac.uk via JANET
          with NIFTP (PP) id <05414-0@mailhub.liverpool.ac.uk>;
          Wed, 25 Nov 1992 10:06:19 +0000
Received:    from UK.AC.LIVERPOOL by MAILER(4.4.t); 25 Nov 1992 10:06:32 GMT
Date:        Wed, 25 Nov 92 10:01:22 GMT
From: Lawrie Schonfelder <JLS@liverpool.ac.uk>
Subject:     Re: named constants and SAVE statement.
To: Janice Shepherd <JANSHEP@torolab2.vnet.ibm.com>,
        SC22/WG5        members <SC22WG5@dkuug.dk>
In-Reply-To: Your message of Mon, 23 Nov 92 11:13:36 EST
Message-Id:  <"mailhub.li.420:25.10.92.10.06.21"@mailhub.liverpool.ac.uk>
X-Charset: ASCII
X-Char-Esc: 29

On Mon, 23 Nov 92 11:13:36 EST Janice Shepherd (JANSHEP@com.ibm.vnet.torolab2)
said:

>This is a formal request for interpretation for the next X3J3 meeting.
>Linda, if you send me a paper number I will mail you a paper (hardcopy)
>version.
>Janice Shepherd.
>
Janice, can you explain to me why this matters? SAVEd or not a symbolic
constant always has the same defined value on every invocation of the
program unit. So why do we care? Why should we clutter up the defect report
and corrigendum with interpretations which cannot effect the execution of
any program? Or have I missed something?

Lawrie
> --------------------------------------------------------------------
>
>
>     To: X3J3                                                  92-
>   From: Janice C. Shepherd
>
>NUMBER:
>TITLE: PARAMETER statements and SAVE statements
>KEYWORDS: PARAMETER, named constant, SAVE
>DEFECT TYPE: ERRATUM
>STATUS:
>
>QUESTION: Can a named constant appear in a SAVE statement?
>In ANSI FORTRAN 77 named constants were not allowed to appear in a
>SAVE statement. Fortran 90 appears to allow named constants in
>SAVE statements.
>
>ANSWER: No, a named constant must not appear in a SAVE statement.
>Edits are provided to indicate this restriction.
>
>REFERENCES: ISO/IEC 1539:1991 (E) sections 5.1, 5.1.2.5
>
>EDITS:  Change the 16th constraint of section 5.1 to
>   'The SAVE attribute must not be specified for an object that is in
> a common block, a dummy argument, a procedure, a function result,
> an automatic data object or an object with the PARAMETER attribute.'
>
>        Change the penultimate sentence of section 5.1.2.5 from
>   'or an automatic data object' to 'an automatic data object or an
>    object with the PARAMETER attribute'
>
>SUBMITTED BY: Janice C. Shepherd
>
>HISTORY:              <meeting no.>        <information>
>
