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 | ||
---|---|---|
| ||
// Included file is PATH_LIST/qrpglesrc/copy.js
pjs.include("qrpglesrc,copy.js"); |
RPG Equivalent
/COPY, /INCLUDE