Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Current »

Content Freeze

As of July 25th, 2023, there is a content freeze on this page.

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 of an included file, then any conditions that that were active when the #include line was read will still be active.


Example:

#if defined(myroutine)
#eof
#endif
#define myroutine
 
// The code that follows will only be included once
// If the routine was already included previously, 
// these lines will not be passed to the Node.js compiler


RPG Equivalent

/EOF


  • No labels