The Include() function opens a script file, parses the script in it, and executes the JSL in the specified file.
Include( "pathname" );
Include( "$SAMPLE_SCRIPTS/myStartupScript.jsl" );
Include( "pathname", <<Parse Only );
Include( "file.jsl", <<New Context );
See Advanced Scoping and Namespaces for information about using namespaces with your scripts.
•
|
Files with the .txt extension are treated as a JSL file. A text file that contains data can be included, however an error will appear since this is not valid JSL.
|