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.
$LARGE and $NOTLARGE
                                             Up Contents Index Back
─────$LARGE and $NOTLARGE───────────────────────────────────────────────────
 
     Action
 
     $LARGE allows an array to span more than one segment (64K);
     $NOTLARGE specifies that an array cannot span more than one segment.
 
     Syntax  $[NOT]LARGE[:names]
 
     Parameter          Value
 
     names              One or more names of array variables or formal
                        array arguments. If more than one name is
                        specified, they must be separated by commas.
 
     Remarks
 
     $NOTLARGE is the default.
 
     If the optional <names> parameter is specified, the metacommand must
     appear in the declarative section of a subprogram.
 
     If <names> is omitted, the metacommand affects all arrays in all
     subsequent subprograms in the source file until $NOTLARGE
     is specified without any arguments. This form without arguments
     may appear anywhere except in the executable section of a
     subprogram.
 
     Arrays with explicit dimensions indicating they are bigger than 64K
     are automatically allocated to multiple segments outside the default
     data segment. You do not need to specify $LARGE for these arrays.
 
     Only one $LARGE or one $NOTLARGE metacommand without arguments can
     occur in a single program unit.
                                    -♦-