summaryrefslogtreecommitdiff
path: root/test.pez
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-10-09 13:16:56 +0200
committerlemon <lsof@mailbox.org>2022-10-09 13:16:56 +0200
commit25cb8be7614ce4e21a1a3a4673abb51cf8dbf823 (patch)
treecbc57c611d9db976d27b2f5d91ffba966f174b5f /test.pez
parenta8874ced3f222cc5f4ed963a09c3491ac36610a6 (diff)
no need to explicitely close vars in top scope
Diffstat (limited to 'test.pez')
-rw-r--r--test.pez3
1 files changed, 2 insertions, 1 deletions
diff --git a/test.pez b/test.pez
index 2802fa9..1dbdfc6 100644
--- a/test.pez
+++ b/test.pez
@@ -1,8 +1,9 @@
@print: {[x] printf["%a\n", x]}
@Box: {[value]
+ @test = 7
#[{value},
- {[new] value = new}]
+ {[new] printf["test: %a\n", test] value = new}]
}