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.
NEAR Attribute
                                             Up Contents Index Back
─────NEAR Attribute─────────────────────────────────────────────────────────
 
     The NEAR attribute specifies that the actual argument is in the
     default data segment and that only its offset is passed to the
     subprogram. This attribute can also be used with common blocks.
     Common blocks having the NEAR attribute are mapped into the
     default data segment.
 
     In a subprogram, a formal argument declared as NEAR cannot
     receive data not specified as NEAR, arrays defined as HUGE, or
     variables defined as $LARGE.
 
     Restrictions: Not allowed in ENTRY statements
 
     See Also: Actual Argument
               FAR
                                    -♦-