Progress
Programming
Handbook
Referencing Preprocessor Names
Use this syntax to reference a preprocessor name:
The preprocessor–name is a name defined in a &GLOBAL–DEFINE or &SCOPED–DEFINE directive, or is a built-in preprocessor name. (For information on built-in preprocessor names, see the "Using Built-in Preprocessor Names" section.) Note that this syntax is identical to the syntax used for referencing argument names in an include file. For more information on how the preprocessor handles interactions between preprocessor names and include file argument names, see the "Arguments to Include Files" section.
A reference to a preprocessor name can occur anywhere within your Progress source code:
When you reference a preprocessor name in your source code,Progress replaces the reference with the value that you defined in the &GLOBAL–DEFINE or &SCOPED–DEFINE directive. In this example, Progress replaces {&FIELD–LIST} with the following code:
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |