summaryrefslogtreecommitdiff
path: root/tnslc/else.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/else.tnsl')
-rw-r--r--tnslc/else.tnsl17
1 files changed, 8 insertions, 9 deletions
diff --git a/tnslc/else.tnsl b/tnslc/else.tnsl
index 8c4789d..a87aad3 100644
--- a/tnslc/else.tnsl
+++ b/tnslc/else.tnsl
@@ -1,14 +1,13 @@
/; main [int]
- /; if (1 == 1)
- /; if (1 == 0)
- return 1
- ;; else if (1 > 0)
- break
- ;; else
- return 0
- ;/
+ int i = 1
+
+
+ /; if (i == 3)
+ i = 1
+ ;; else if (i == 1)
+ i = 10
;/
- return 2
+ return i
;/ \ No newline at end of file