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 ASCII sequences in REBOL"
http://www.rebolforces.com/articles/tui-dialect.html

which is a good tutorial on dialect creation as well as
containing escape sequences we can never remember.
The dialect implements 'clear as a command.
Of course, safely in the dialect, it does not affect
the built-in, globally defined, clear function.

Anton.

> 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] Another Console Related Question
>
>
> >
> > I've been playing with the console some more and discovered
> something that
> > is strange to me.  When I type:
> >
> > clear: print ["^L"]
> >
> > and then type:
> >
> > print clear
> >
> > I get:
> >
> > ?unset?
> > >>
> >
> > At the top of the page.  I assume that Rebol wants me to set clear; so I
> try:
> >
> > set 'clear print ["^L"]
> >
> > but when I do:
> >
> > print clear
> >
> > I still get the ?unset?.  So my question is what is the
> "?unset?" and how
> > do I set a value to "clear" in such a way that I don't get it?
> >
> > All input appreciated.
> >
> > Paul

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to