forlang.hlp (Table of Contents; Topic list)
PARAMETER
                                             Up Contents Index Back
─────PARAMETER──────────────────────────────────────────────────────────────
 
     Action
 
     Declares a constant.
 
     Syntax
 
     PARAMETER (name=value [, name=value]...)
 
     Parameter          Description
 
     name               Name for the constant.
 
     value              Value to assign the constant (may be an
                        expression).
 
                        If <value> is a character constant, it can
                        contain a maximum of 1,957 characters.
 
     Remarks
 
     If <name> and <value> have different numerical types, <name> is
     converted to <value>'s type.
 
     Constants cannot be of a structure type and may not appear in a
     format specification.
 
     Examples
 
     C     Example 1
           PARAMETER (nblocks = 10)
 
     C     Example 2
           REAL mass
           PARAMETER (mass = 47.3, pi = 3.14159)
 
     C     Example 3
           IMPLICIT REAL (L-M)
           PARAMETER (loads = 10.0, mass = 32.2)
 
     C     Example 4
           CHARACTER*(*) bigone
           PARAMETER (bigone = 'This constant is larger than 40
          +characters')
                                    -♦-