xHarbour Reference Documentation > Statement Reference |
Declares the symbolic name of an external function or procedure for the linker.
REQUEST <name1> [,<nameN>]
The REQUEST statement declares a symbolic name of a function or procedure for the linker. This is usually required when there is no direct call of a function or procedure in PRG code, for example when a function is only called within a macro-expression using the macro-operator. By requesting the symbolic name of a function, the linker is forced to link the corresponding function to the executable file.
See also: | #include, EXTERNAL |
Category: | Declaration |
// This example demonstrates a possible header file with some REQUEST // statements. The file can the be #included in PRG files that may // need the requested functions. ** File: Requests.ch REQUEST _ADS REQUEST HBObject // EOF
http://www.xHarbour.com