#define
The #define compiler directive defines conditions for conditional compilation.
The syntax is as follows:
#define condition-name
Example:
#if not defined(ranonce)
// this code will only run one time
// even if this source file is included more than once with #include
number = number + 1;
#endif
#define ranonce
RPG Equivalent:
/DEFINE
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!