summaryrefslogtreecommitdiff
path: root/tests/whilelet.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-27 12:01:33 +0100
committerubq323 <ubq323@ubq323.website>2024-06-27 12:05:27 +0100
commit991e694b558691264f82d80a7aa1b86ef3d2c92c (patch)
tree881946b076bdcc6545aa167ef7d544b6e16f9abb /tests/whilelet.bth
parenta559125a2d7af771784614b7a2092cc7fb707345 (diff)
more tests
Diffstat (limited to 'tests/whilelet.bth')
-rw-r--r--tests/whilelet.bth11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/whilelet.bth b/tests/whilelet.bth
new file mode 100644
index 0000000..ce8a482
--- /dev/null
+++ b/tests/whilelet.bth
@@ -0,0 +1,11 @@
+(do
+ (let (i 0
+ a [])
+ (while (< i 10)
+ (append a i)
+ (set i (+ i 1)))
+ (let (x 100
+ y 200
+ z 300)
+ (say y))
+ (say a)))