[REBOL] Re: Changing prompt without feedback
From: jeff:rebol at: 13-Nov-2000 22:48
Howdy, Spliff:
>> system/console/prompt: "new-prompt->" ()
new-prompt->
The empty paren creates an unset! which does not echo a result
on the console. (The empty paren to create an unset! is a
trick I learned from Ladislav. (-:) The last thing evaluated
at the prompt or in a script is what is shown as the visible
result on the console, unless it is unset!.
Other REBOL functions return UNSET as well, like PRIN, HELP,
or, more generally, functions that have no return value:
unset? do func [] []
== true
which could also be written: DO DOES []
system/console/prompt: "new-prompt->" do does []
-jeff