Refactor while loop to not repeat instruction

This commit is contained in:
Catalin Constantin Mititiuc 2025-06-13 16:49:40 -07:00
parent 63719f8fda
commit 027b8616d3

View File

@ -8,7 +8,7 @@ assert u\listen!
assert u\settimeout 1 assert u\settimeout 1
c = assert u\accept! c = assert u\accept!
m = assert c\receive! while true
while m != ""
print m
m = assert c\receive! m = assert c\receive!
break if m == ""
print m