Progress
Language Reference
&SCOPED-DEFINE Preprocessor Directive
Defines a compile-time constant (preprocessor name) non-globally.
SYNTAX
preprocessor-name
The preprocessor name (compile-time constant) that you supply. Progress reserved keywords are allowed, but cannot be used in preprocessor expressions.
definition
A string of characters (or preprocessor references that evaluate to a string of characters) whose content the preprocessor substitutes for preprocessor-name during compilation. If definition is longer than on line, a tilde (~) at the end of the first line indicates continuation to the next line.
NOTES
- You must place the &SCOPED-DEFINE directive at the beginning of a line, preceded only by blanks, tab characters, or comments (/* comment */).
- The syntax of the &GLOBAL-DEFINE and &SCOPED-DEFINE directives are identical but these directives are used differently. For more information, see the chapter on the preprocessor in the Progress Programming Handbook .
SEE ALSO
{ } Preprocessor Name Reference, &GLOBAL-DEFINE Preprocessor Directive, &UNDEFINE Preprocessor Directive, DEFINED Preprocessor Function
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |