summaryrefslogtreecommitdiff
path: root/tests/fizzbuzz.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-26 14:48:27 +0100
committerubq323 <ubq323@ubq323.website>2024-06-26 14:48:27 +0100
commit517e9fe048844533d927c4e3b6d021f82ccea984 (patch)
tree5629a6d2e43201c14a8d43d652751ff8a987eefb /tests/fizzbuzz.bth
parenta8519434f058d0ab60bf7f90acc61997cb982cfa (diff)
remove OP_PUTS and OP_PRINT, use say and write functions instead
Diffstat (limited to 'tests/fizzbuzz.bth')
-rw-r--r--tests/fizzbuzz.bth2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fizzbuzz.bth b/tests/fizzbuzz.bth
index 42c1760..2837b55 100644
--- a/tests/fizzbuzz.bth
+++ b/tests/fizzbuzz.bth
@@ -1,6 +1,6 @@
(set n 1)
(while (< n 30)
- (puts
+ (say
(if (= 0 (% n 5))
(if (= 0 (% n 3)) "fizzbuzz" "buzz")
(if (= 0 (% n 3)) "fizz" n)))