[REBOL] Re: Need help with help
From: tim:johnsons-web at: 3-Dec-2004 16:32
* Gabriele Santilli <[gabriele--colellachiara--com]> [041203 03:42]:
> Hi Tim,
> 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)]
;;And what works for me is:
do compose [doc-string: helps (in system/words fnc)]
;; which captures the docs as a string
> value1 * value2
> Returns the first value multiplied by the second.
> * is an op value.
> value1 -- (Type: number pair char money time tuple)
> value2 -- (Type: number pair char money time tuple)
> Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
> Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/
> To unsubscribe from the list, just send an email to rebol-request
> at rebol.com with unsubscribe as the subject.
Tim Johnson <[tim--johnsons-web--com]>