Adjusted the interpreter's version guard

This commit is contained in:
2023-01-21 13:10:04 +00:00
parent df85d30553
commit d3516b4fc9
2 changed files with 13 additions and 2 deletions

View File

@@ -23,6 +23,15 @@ import runner;
s.freeScript();
}
//test running an external binary file
{
var s = loadScriptBytecode("scripts:/lib/runner/sample_bytecode.tb");
s.runScript();
s.freeScript();
}
//test resetting an external script
{
var s = loadScript("scripts:/runner_sample_code.toy");