I'd like to capture rebol console input line by line so as to act upon it in realtime like in nodejs with readline function : Reading value from console, interactively
Is this possible in rebol ?
I'd like to capture rebol console input line by line so as to act upon it in realtime like in nodejs with readline function : Reading value from console, interactively
Is this possible in rebol ?
Maybe like
until [name: ask "What's your name? " also name = "noname" print ["nice to meet you" name]]
or
until [
name: ask "What's your name? "
either empty? name [
true
] [
print ["nice to meet you" name]
false
]
]
or
while [not empty? name: ask "What's your name? "][print ["nice to meet you" name]]