rhai/scripts/module.rhai

6 lines
117 B
JavaScript
Raw Normal View History

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