From f68d40f063608c15d5cf7db2dd506f6676bbd440 Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 23 Sep 2019 11:22:54 -0400 Subject: improved if/elif/else; started while --- test.toc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test.toc') diff --git a/test.toc b/test.toc index 31d337a..788cdcd 100644 --- a/test.toc +++ b/test.toc @@ -1,11 +1,13 @@ main @= fn() { - x := 1; - foo := if x { + //x := 1; + /*foo := if x { 9 } elif 7-3 { 5 } elif main { 3 - } else {7 }; + } else {7 };*/ + + bar := if 1 { 9 }; }; -- cgit v1.2.3