I agree this is a help issue.  I didn't notice before
that if I did protect-system before any help, the help
would still work, but sure enough, I did
protect-system 1st thing, and help worked
afterwards...

--- [EMAIL PROTECTED] wrote:
> Hi Grant
> 
> This looks like a bug in 'help.  You should send it
> to feedback.  The
> problem is caused by doing the
> 
> >> help protect-system
> 
> before doing protect-system.
> 
> Done in the other order, everything works OK.
> ----snip
> Script: "User Preferences"
> (31-Oct-1999/18:54:30-8:00)
> >> protect-system
> >> help protect-system
> USAGE:
>     PROTECT-SYSTEM
> 
> DESCRIPTION:
>      Protects all system functions and the system
> object from redefinition.
>      PROTECT-SYSTEM is a function value.
> >> first: 5
> ** Script Error: Word first is protected, cannot
> modify.
> ** Where: first: 5
> >>
> 
> BTW You can use 'source to look at the code for both
> 'help and
> 'protect-system.  If you do
> 
> >>source protect-system
> 
> before doing 'protect-system, it does not cause this
> problem, which is one
> reason I think the bug is in 'help.
> 
> HTH
> -Larry
> 
> 
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 18, 2000 12:01 PM
> Subject: [REBOL] protect-system caveat
> 
> 
> > Setting protect-system seems to incapacitate
> 'help':
> >
> > >> help protect-system
> > USAGE:
> >     PROTECT-SYSTEM
> >
> > DESCRIPTION:
> >      Protects all system functions and the system
> > object from redefinition.
> >      PROTECT-SYSTEM is a function value.
> > >> protect-system
> > >> help protect-system
> > ** Script Error: Word type-name is protected,
> cannot
> > modify.
> > ** Where: type-name: func [value] [
> >     value: mold type? :value
> >     clear back tail value
> >     join either find "aeiou" first value ["an "]
> ["a
> > "] value
> > ]
> > if
> > >>
> >
> > Bummer, huh?
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Send instant messages & get email alerts with
> Yahoo! Messenger.
> > http://im.yahoo.com/
> >
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/

Reply via email to