Hello Tim

> Hi Rebols:
> At the console:
> >> help *
> 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)
> 
> ;; Next, I want to collect the documentation. I hacked 'help as 'helps
> ;; to do so by gathering the output as a string. helps * gives me
> ;; a string with the same content as the console session above.
> ;; 'get-global-funcs collects function names as a list. 
> ;; So far so good. But if I attempt to iterate thru the list of
> ;; global functions, I don't get the results I'm looking for

> 
> What do I need to do here?
> Goal is to automatically build a series of emacs docstrings to
> aid in on-demand documentation.
> 
> Thanks
> tim
> -- 

try something like
> ;; the following code:
     foreach fnc global-funcs [
        ?? fnc ;; yields name of function
        fnc: get in system/words fnc
        help fnc
     ]
------------
AR

-- 
Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD
++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++
-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to