fc
introduced in v20.40.0005 causes problems when calling a sub in the loaded script when its loaded from cache:Execute this script load-1.xys
Code: Select all
"Test Cached Load"
load 'load-2.xys', , 'fc';
load 'load-2.xys', , 'fc';
Code: Select all
"Second script : main"
sub '_sub';
"_sub"
msg "First Time OK, second time Bug!";