This website requires JavaScript.
Explore
Help
Register
Sign In
kjuulh
/
rhai
Watch
1
Star
0
Fork
0
You've already forked rhai
Code
Issues
1
Pull Requests
1
Packages
Projects
Releases
Wiki
Activity
f74d947c6b
rhai
/
scripts
/
array.rhai
10 lines
114 B
Plaintext
Raw
Normal View
History
Unescape
Escape
[BREAKING CHANGE] change variable keyword to 'let' from 'var'
2017-10-02 08:46:35 +02:00
let x = [1, 2, 3];
Put comments into example scripts.
2020-03-16 07:50:12 +01:00
Pretty up scripts with print.
2020-05-02 10:23:36 +02:00
print("x[1] should be 2:");
print(x[1]);
Put comments into example scripts.
2020-03-16 07:50:12 +01:00
Add support for arrays
2016-03-26 18:46:28 +01:00
x[1] = 5;
Put comments into example scripts.
2020-03-16 07:50:12 +01:00
Pretty up scripts with print.
2020-05-02 10:23:36 +02:00
print("x[1] should be 5:");
print(x[1]);
Reference in New Issue
Copy Permalink