mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Adjusted the interpreter's version guard
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user