forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Names
                                             Up Contents Index Back
─────Names─────────────────────────────────────────────────────────────────
 
     FORTRAN names are subject to the following restrictions:
 
     ■ The first character in a name must be alphabetic; the rest must
       be alphanumeric or $ or _.
 
     ■ Names can contain up to 31 characters; all characters are
       significant. (In ANSI FORTRAN, identifiers can contain up to six
       characters.)
 
     See also: $STRICT
 
     Global and Local Names
 
     Global names are recognized anywhere in a program. They can have
     only one definition. All subroutine, function, program, and
     common-block names are global.
 
     Common-block names are a special case of global names. You can use
     the same name for a common block and a local name in the same
     program. This is permitted because common-block names are always
     enclosed in slashes.
 
     Local names have meaning only in the program unit in which they are
     declared. All variables, arrays, arguments, and statement functions
     have local names.
                                    -♦-