mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 19:18:53 +08:00
fscript support register consts
This commit is contained in:
parent
60bb810f0c
commit
1256cb219a
6
tests/fscripts/demo_consts.fs
Normal file
6
tests/fscripts/demo_consts.fs
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
print(fconsts.PI);
|
||||
|
||||
for(var i = 0; i < 10; i = i + 1) {
|
||||
print(fconsts.PI);
|
||||
}
|
Loading…
Reference in New Issue
Block a user