Code: Select all
$menu = <<<>>>
"Error" sub "T2";
"Test1 : T1" status 1;
"_Test2 : T2" status 2;
>>>;
load $menu,, "s";
Code: Select all
$menu = <<<>>>
"Error" sub "T2";
"Test1 : T1" status 1;
"_Test2 : T2" status 2;
>>>;
load $menu,, "s";
Code: Select all
include_once "testLib.xys";
// call lib function
callTest();
// build in-the-fly script code
$mscript = <<<SCRIPT
include_once "testLib.xys"; // <-- INDENTING THIS STATEMENT EVOKES ERROR AGAIN -->
callTest(); // <-- THIS IS WHAT SHOULD WORK AFTER ALL -->
SCRIPT;
// NOW THE ERROR GETS THROWN HERE - this logic has been working for years
load($mscript, , "s");
Code: Select all
<-- INDENTING THIS STATEMENT EVOKES ERROR AGAIN -->
Code: Select all
v20.50.0107 - 2019-11-01 13:46
! Scripting: The fix (from v20.40.0005) concerning repeatedly loading the
same resource file needed some more polishing. Polished again.
Nope, I just polished it.