PRB: #DEFINE in Setup Code Ignored If Only Line of CodeLast reviewed: June 27, 1995Article ID: Q115056 |
The information in this article applies to:
SYMPTOMSIf a single #DEFINE preprocessor directive is used in the Setup code of a screen, the constant is never defined and the following error message is generated when the constant is referenced:
Variable ["<variable>"] not found. RESOLUTIONTo avoid this problem, add a comment somewhere in the Setup code. For an example, see "Workaround" in the "More Information" section below.
MORE INFORMATIONThe #DEFINE preprocessor directive is used to create compile-time constants in programs. Using #DEFINE to create constants instead of using memory variables can save on memory consumption, increase performance, and simplify programs.
Steps to Reproduce Behavior
Workaround
|
Additional reference words: FoxDos FoxWin 2.50 2.50a 2.50 2.60
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |