Update Input Keyword

2026-01-09 10:25:56 +11:00
parent bd7c1704db
commit 169c5a4a3f

@@ -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
``` ```