rhai/scripts/module.rhai

6 lines
116 B
Plaintext
Raw Normal View History

2022-01-20 12:06:36 +08:00
// This script imports an external script as a module.
2021-04-09 22:48:47 +08:00
import "loop" as x;
2020-11-08 23:00:03 +08:00
2021-04-09 22:48:47 +08:00
print(`Module test! foo = ${x::foo}`);