diff options
| author | Paul Buetow <paul@buetow.org> | 2008-10-14 20:38:27 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-10-14 20:38:27 +0000 |
| commit | d527f50159f056dc165fa7eaf7bf80425a1e758d (patch) | |
| tree | 03e8aa97c25fbc014876e5113dd66d4a44adac4d /tmp/test.fy | |
| parent | 71185ab0ab0b08b4d5bb2e750ff85e11f105a453 (diff) | |
GC removed, temporaly
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; |
