diff options
Diffstat (limited to 'tmp/test.fy')
| -rw-r--r-- | tmp/test.fy | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tmp/test.fy b/tmp/test.fy index 7e030a5..adb8384 100644 --- a/tmp/test.fy +++ b/tmp/test.fy @@ -1,12 +1,18 @@ #my foo = [1 2 3]; +# Prints num of elements in foo #assert "TT_INTEGER" == type say integer foo; #my bar = [1 2 3]; +# Prints num of elements in bar #assert "TT_DOUBLE" == type say double bar; #my baz = [1 2 3]; +# Prints num of elements in baz #assert "TT_STRING" == type say string baz; + +# Prints "1 3 5 6\n" #say [1 3 5 6]; +my foo = 2 * 3 + 1.2; |
