Progress
Programming
Handbook
&GLOBAL-DEFINE and &SCOPED-DEFINE Directives
The &GLOBAL-DEFINE and &SCOPED-DEFINE directives allow you to define preprocessor names, which are compile-time constants. Their syntax is as follows:
The preprocessor–name is a name that you supply, and definition is a string of characters. If definition is longer that one line, you can use a tilde (~) to continue onto the next line. You must place these directives at the beginning of a line, preceded only by blank or tab characters. The preprocessor trims all leading and trailing spaces from definition. You can abbreviate &GLOBAL-DEFINE and &SCOPED-DEFINE to &GLOB and &SCOP, respectively.
You can use reserved Progress keywords as preprocessor names. However, unless they are defined as part of a preprocessor name, reserved Progress keywords cannot be placed in preprocessor expressions.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |