summaryrefslogtreecommitdiff
path: root/tests/vars7.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-28 10:44:07 +0100
committerubq323 <ubq323@ubq323.website>2024-06-28 10:56:47 +0100
commitb51136defc2898c868e4a1b60025d5bb57347662 (patch)
treed69991826222e3ec0c1148d6a0b417e4badb019c /tests/vars7.bth
parent2293fed1bb278068daaa9f20b752abeb3cf21c49 (diff)
def form for implicit scopes
Diffstat (limited to 'tests/vars7.bth')
-rw-r--r--tests/vars7.bth7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/vars7.bth b/tests/vars7.bth
new file mode 100644
index 0000000..6bcbace
--- /dev/null
+++ b/tests/vars7.bth
@@ -0,0 +1,7 @@
+(do
+ (say (if (< 3 2)
+ "hii"
+ (do
+ (def x 100)
+ x)))
+ (let (a 100 b 200 c 300) (say b)))