summaryrefslogtreecommitdiff
path: root/tests/vars4.bth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vars4.bth')
-rw-r--r--tests/vars4.bth13
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/vars4.bth b/tests/vars4.bth
index 20820e3..b4a2f25 100644
--- a/tests/vars4.bth
+++ b/tests/vars4.bth
@@ -1,8 +1,7 @@
-(do
- (set x 100)
+(set x 100)
+(puts x)
+(let (x 20)
(puts x)
- (let (x 20)
- (puts x)
- (set x 30)
- (puts x))
- x)
+ (set x 30)
+ (puts x))
+x