Another Console Related Question --- SOLVED
[1/3] from: paulporter:buffalotalks at: 29-Apr-2004 7:17
Please disregard this question. I stumbled on to the answer. Just incase
some other newbie comes across this:
The solution is to use:
do clear
instead of:
print clear
Paul
--
Linux User Number: 348867
[2/3] from: rebolview:ya:hoo at: 29-Apr-2004 14:05
Hello Paul,
To avoid using the word do like in do clear you need to define clear as
a function like :
REBOL []
cls: func
[ {Efface la console. CLS pour CLear Screen.}]
[ prin "^L"]
or just
clear: does [prin "^L"]
After that i think only clear is working like you finaly want.
yos
[paulporter--buffalotalks--com] wrote:
Please disregard this question. I stumbled on to the answer. Just incase
some other newbie comes across this:
The solution is to use:
do clear
instead of:
print clear
Paul
--
Linux User Number: 348867
=09
[3/3] from: paulporter::buffalotalks::com at: 29-Apr-2004 9:42
Yes! that is exactly what I am wanting. Since, as Arie was kind enough to
point out, "clear" is a reserved word in Rebol I changed it to "cls" so
that it is now cls: does [prin "^L"].
Thanks for the help;
Paul
--
Linux User Number: 348867