From 71185ab0ab0b08b4d5bb2e750ff85e11f105a453 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 16 Sep 2008 17:05:51 +0000 Subject: array progress --- examples/types.fy | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples') 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]; -- cgit v1.2.3