...
...
...
...
...
...
...
...
...
...
...
...
...
...
The #eof compiler directive is used to indicate that the compiler should consider that end-of-file has been reached for the current source file.
#eof will end any active #if group that became active during the reading of the current source file. If the #eof was inside a pjs.include() of an included file, then any conditions that that were active when the pjs.include() directive #include line was read will still be active.
Example:
Code Block | ||
---|---|---|
| ||
#if defined (myroutine) #eof #endif #define myroutine // The code that follows will only be included once // If the routine was already included previously, // these codelines will not be passed to the Node.js compiler |
...
RPG Equivalent
/EOF