rhai/scripts/module.rhai
2022-01-20 12:06:36 +08:00

6 lines
116 B
Plaintext

// This script imports an external script as a module.
import "loop" as x;
print(`Module test! foo = ${x::foo}`);