Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Funny bug. Or?

From: joel:neely:fedex at: 18-Nov-2002 15:16

Hi, Carl, Try HELP with something else after doing PROTECT-SYSTEM. As Gregg pointed out, a quick look at ?? HELP indicates that HELP is trying to define a function named TYPE-NAME it the argument to HELP is a non-string, non-word value. However, since TYPE-NAME is not local to HELP, that makes each such evaluation of HELP a redefinition of the (global) function TYPE-NAME. As Gregg said, looks like a bug. -jn- Carl Read wrote:
> On 18-Nov-02, Gregg Irwin wrote: > > Hi Hallvard, > > >>>> protect-system > >>>> help to-tag > >> ** Script Error: Word type-name is protected, cannot modify > >> ** Where: help > >> ** Near: type-name: func [value] [ > >> value: mold type? :value > >> clear back tail value > >> join either find "aeiou" first value ["an "] ["a "] value > >> ] > > > It looks like HELP should define TYPE-NAME as a local, which it > > isn't. I'd send it to feedback. > > The odd thing is I have protect-system in my user.r, yet "help to-tag" > doesn't give the above error until after I do a protect-system at the > Console. > > -- > Carl Read > > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- ---------------------------------------------------------------------- Joel Neely joelDOTneelyATfedexDOTcom 901-263-4446