Update Input Keyword
@@ -14,8 +14,8 @@ input &str
|
|||||||
equal $str "0" &cond # check if char is "0"
|
equal $str "0" &cond # check if char is "0"
|
||||||
if $cond %outonce # if char is 0, jump to the bottom script
|
if $cond %outonce # if char is 0, jump to the bottom script
|
||||||
@loop # otherwise loop
|
@loop # otherwise loop
|
||||||
println $char # append char to stdout
|
println $char # append char and \n to stdout
|
||||||
jump %loop # loop forever
|
jump %loop # loop forever
|
||||||
@outonce
|
@outonce
|
||||||
println "0" # append 0 to stdout
|
println "0" # append "0\n" to stdout
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user