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

[REBOL] Re: Can I define an anti function?

From: g:santilli:tiscalinet:it at: 24-Feb-2004 15:58

Hi Anton, On Tuesday, February 24, 2004, 3:34:36 PM, you wrote: AR> func [a b][native func [a b][a = b] get/any 'a get/any 'b] AR> This 'native function is undocumented and it's not obvious AR> to me what it does. What you see is not what you get. ;-) What MOLD prints as "native" above is not the word 'native but the native function NOT.
>> mold reduce [:not]
== "[native]" However, a native called 'NATIVE actually exists,
>> help native
USAGE: NATIVE spec DESCRIPTION: (undocumented) ARGUMENTS: spec -- (Type: block) and as far as I can guess it is used by REBOL components during startup to register new native functions. This is probably a left over, the beta versions don't unset internal functions like older releases did. Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: