Statement REQUEST Foundation
Defines a list with names for the linker.
REQUEST <ModuleName,...>
The REQUEST statement declares a list of module names that are to be linked into the EXE file. The declaration must come before the first executable statement at the beginning of a source code file or before the first executable statement within a user-defined function.
REQUEST is required when a program module, a function or a procedure is not visible at compile time, but nevertheless must be linked into the EXE file. This situation can occur when the procedure or function name is a character string and is compiled at runtime with the macro operator (&). Since the module name is not explicitly mentioned and cannot be determined at compile time, REQUEST forces the module name into the object file to make it available to the linker.
REQUEST is necessary in the following situations:
User-defined functions used in an index key but not elsewhere in the program
Procedures and UDFs which are called in macro expressions
Procedures which are declared as INIT PROCEDURE or EXIT PROCEDURE (ANNOUNCE must also be used)
User functions for AChoice(), DbEdit() or MemoEdit() defined as character strings or that occur in other PRG files.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.