diff options
| author | Paul Buetow <paul@buetow.org> | 2008-09-16 17:05:51 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-09-16 17:05:51 +0000 |
| commit | 71185ab0ab0b08b4d5bb2e750ff85e11f105a453 (patch) | |
| tree | a6ad933176f92b60d2f1560d2f1bac46ec6b9566 /examples/types.fy | |
| parent | 8b31b18a43dea55489e70d5b2ea6fc183cc67533 (diff) | |
array progress
Diffstat (limited to 'examples/types.fy')
| -rw-r--r-- | examples/types.fy | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/types.fy b/examples/types.fy index 1b9a0ac..1ac9751 100644 --- a/examples/types.fy +++ b/examples/types.fy @@ -12,3 +12,7 @@ assert 2 == say integer 2.8; # Rounds down to the Integer 2 assert say integer double string put say neg 12; # Nonsense but working :) +assert "TT_INTEGER" == say type 1; +assert "TT_DOUBLE" == say type 1.0; +assert "TT_STRING" == say type "1"; +assert "TT_ARRAY" == say type [1 2 3]; |
