Refactor while loop to not repeat instruction
This commit is contained in:
parent
63719f8fda
commit
027b8616d3
@ -8,7 +8,7 @@ assert u\listen!
|
||||
assert u\settimeout 1
|
||||
c = assert u\accept!
|
||||
|
||||
m = assert c\receive!
|
||||
while m != ""
|
||||
print m
|
||||
while true
|
||||
m = assert c\receive!
|
||||
break if m == ""
|
||||
print m
|
||||
|
Loading…
x
Reference in New Issue
Block a user