forlang.hlp (Table of Contents; Topic list)
Address Functions
                                             Up Contents Index Back
─────Address Functions──────────────────────────────────────────────────────
 
     LOCNEAR, LOCFAR, and LOC return the machine address of
     the variable passed.
 
     The following list shows how the address is returned for different
     types of arguments:
 
     Argument                Return Value
 
     Expression,             A temporary variable is created
     function call,          to hold the argument or its result. The
     or constant             address of the temporary variable is
                             then returned.
 
     All other arguments     The machine address of the argument is
                             returned.
 
     LOCNEAR can only be used with NEAR procedures and with objects
     in the default data segment. LOC returns either a near or
     a far pointer, depending on the memory model used to compile.
                                    -♦-