Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Includes one Node.js source file within another.

Parameters

1. File path - Path to Node.js source file to include. The file name can optionally be qualified with a directory name, otherwise the pathlist is used to locate the file.

Code Block
titleInclude another Node.js source file
// Included file is PATH_LIST/qrpglesrc/copy.js
pjs.include("qrpglesrc,copy.js");

 

RPG Equivalent 

/COPY, /INCLUDE