Hello all,
I'm trying to use Include File List() and I'm getting errors. It is not working as I would have expected.
Here is an example.
I have 3 files files named Include1.jsl, Include2.jsl, Include3.jsl that I'm trying to include into TestInclude.jsl that is listed below:
Clear Log();
//Names Default To Here( 1 );
Clear Symbols();
Clear Globals();
Include( "Include1.jsl" );
Include( "Include2.jsl" );
Include( "Include3.jsl" );
show(Include File List());
All four files are in the same folder. Each of the three included files have their corresponding
show("IncludeScriptN");
where N is 1, 2 and 3
When I'm running the TestInclude,jsl, I'm expecting to see:
"IncludeScript1";
"IncludeScript2";
"IncludeScript3";
Include File List() = {"C:\...\TestingLocaleScipts\TestInclude.jsl", "C:\...\TestingLocaleScipts\Include1.jsl", "C:\...\TestingLocaleScipts\Include2.jsl", "C:\...\TestingLocaleScipts\Include3.jsl"};
Instead I see this:
"IncludeScript1";
"IncludeScript2";
"IncludeScript3";
Include File List() = {"C:\...\TestingLocaleScipts\TestInclude.jsl"}
So, included files ARE indeed included, they DO indeed work, but function does not show them? What am I doing wrong?
Thanks,
M.