| United States-English |
|
|
|
![]() |
HP Pascal/HP-UX Programmer's Guide > Chapter 8 Procedure Options UNRESOLVED |
|
The UNRESOLVED procedure option prevents the compiler/linker/loader from resolving a routine until the program calls it. The routine must be at level one. To resolve a routine is to associate it with its system name. Calling an OPTION UNRESOLVED routine implicitly resolves it at run-time, before it is called. The routine must be resolvable. Alternatively, an OPTION UNRESOLVED routine can be explicitly resolved by calling the predefined function addr with the routine name as its parameter. Then addr returns a routine reference that can be assigned to a routine variable and called with the predefined procedure call or fcall. If the routine cannot be resolved, addr returns nil. Example
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||