No, it should still work. Look:
>> clear: does [print "hello"]
>> clear
hello
Rebol allows you to freely change the value of
most words. I would advise against doing that
with clear, though; it's an often used function.
Also check out:
"TUI Dialect - A dialect to print
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
> Hello Paul,
>
> To avoid using the word do like in
Ah! thanks Arie. I tried to clear the console with "clear" and when it
didn't do what I wanted I started looking at other ways to do it. I did
think of it being a reserved word for some purpose other than clearing the
console.
I appreciate the input.
Paul
--
Linux User Number: 348867
>
> Hi
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
[E
Hi Paul,
I think is has to do with the fact that CLEAR is a REBOL word. Have a look
at:
http://www.rebol.com/docs/words/wclear.html
Hope that helps,
Arie
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 29, 2004 1:07 PM
Subject: [REBOL] A
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
>
> I've been playing with the console some more and discovered something that
> is str