Previous Next

&SCOPED-DEFINE preprocessor directive
Defines a compile-time constant (preprocessor name) non-globally.
Syntax 
 
&SCOPED-DEFINE preprocessor-name definition
preprocessor-name
The preprocessor name (compile-time constant) that you supply. ABL 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 a 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 preprocessor trims all leading and trailing spaces from definition.
*
See also 
{ } Preprocessor name reference, &GLOBAL-DEFINE preprocessor directive, &UNDEFINE preprocessor directive, DEFINED preprocessor function

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.