Page tree
Skip to end of metadata
Go to start of metadata

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.


#if defined(myroutine)
#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



  • No labels