diff options
| author | 2022-10-09 13:21:16 +0200 | |
|---|---|---|
| committer | 2022-10-09 13:21:16 +0200 | |
| commit | dae9fadda69b858a7fbb5ce65eb72f28aea3fdf9 (patch) | |
| tree | 19ef6ef9291f67a5f035b74106f4ec6858862929 /test.pez | |
| parent | 25cb8be7614ce4e21a1a3a4673abb51cf8dbf823 (diff) | |
only close vars when necessary
Diffstat (limited to 'test.pez')
| -rw-r--r-- | test.pez | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -1,10 +1,18 @@ @print: {[x] printf["%a\n", x]} @Box: {[value] - @test = 7 - #[{value}, - {[new] printf["test: %a\n", test] value = new}] - } + @it = 0 + ( + @test = 7 + @h2 = 100 + it = #[{value}, + {[new] printf["test: %a\n", test] value = new}] + ) + ( + @hmm = 999 + ) + it +} @x = Box[-7] |