Add a few examples

This commit is contained in:
jonathandturner
2016-03-01 21:36:46 -05:00
parent d8dd673459
commit 1320a35c81
10 changed files with 32 additions and 3 deletions

6
examples/while.rhai Normal file
View File

@@ -0,0 +1,6 @@
var x = 10;
while x > 0 {
print(x);
x = x - 1;
}