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

[REBOL] Re: Need help with help

From: gabriele:colellachiara at: 3-Dec-2004 10:28

Hi Tim, On Friday, December 3, 2004, 1:26:26 AM, you wrote: TJ> Bam! Why didn't I think to use a string? Because you don't need to:
>> fnc: '*
== *
>> do compose [help (fnc)]
USAGE: value1 * value2 DESCRIPTION: Returns the first value multiplied by the second. * is an op value. ARGUMENTS: value1 -- (Type: number pair char money time tuple) value2 -- (Type: number pair char money time tuple) I guess your problem is just that you're getting the word directly from FIRST SYSTEM/WORDS, and that's unbound.
>> fnc: first find first system/words '*
== *
>> do compose [help (fnc)]
Found these words: * op! Returns the first value multiplied by the second. ** op! Returns the first number raised to the second numb... copy* action! Returns a copy of a value.
>> do compose [help (in system/words fnc)]
USAGE: value1 * value2 DESCRIPTION: Returns the first value multiplied by the second. * is an op value. ARGUMENTS: value1 -- (Type: number pair char money time tuple) value2 -- (Type: number pair char money time tuple) Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/