mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
17 lines
319 B
Plaintext
17 lines
319 B
Plaintext
import runner;
|
|
|
|
//test basic loading and freeing of code
|
|
{
|
|
var s = loadScript("scripts:/runner_sample_code.toy");
|
|
|
|
s.freeScript();
|
|
}
|
|
|
|
//TODO: test running an external script
|
|
//TODO: test resetting an external script
|
|
//TODO: test retrieving a script variable
|
|
//TODO: test calling a script function
|
|
|
|
|
|
print "All good";
|