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.
IMPLICIT
                                             Up Contents Index Back
─────IMPLICIT ──────────────────────────────────────────────────────────────
 
     Action
 
     Defines the default type for user-declared names.
 
     Syntax
 
     IMPLICIT { type (letters) [, type (letters)]... | NONE }
 
     Parameter          Description
 
     type               The data type to use as a default.
 
     letters            A list of letters or letter ranges. Separate
                        multiple entries with commas.
 
                        Separate the first and last letters in a letter
                        range with a minus sign. The letters for a range
                        must be in alphabetical order.
 
     Remarks
 
     IMPLICIT establishes the default type for user-defined names that
     begin with the specified letters. IMPLICIT applies only to the
     program unit in which it appears.
 
     Specifying IMPLICIT NONE requires that every user-defined name be
     explicitly typed. No other IMPLICIT statements may appear in a
     program unit that contains an IMPLICIT NONE statement.
 
     An explicit data type overrides an implicit data type.
 
     IMPLICIT statements must precede all other specification
     statements in that program unit. A particular letter cannot
     appear in more than one IMPLICIT statement.
 
     Example
 
           IMPLICIT INTEGER (a - b)
           IMPLICIT CHARACTER*10 (n)
     C     The following statement overrides the implicit
     C     INTEGER type for the variable anyname:
           CHARACTER*20 anyname
           age = 10
           name = 'PAUL'
                                    -♦-