Hi, Sunanda,

Much good food for thought!  I'll digest and reply more later,
but one quick thought ...

[EMAIL PROTECTED] wrote:
> 
> ... And I don't know any easy way of getting help for a
> function embedded in an object  --
> 

    >> foo: make object! [
    [    blort: func [
    [        {Do something obscure}
    [        s [string!] {first arg}
    [        n [number!] {second arg}
    [        ][
    [        n + length? s
    [        ]
    [    ]
    >> gnudge: get in foo 'blort
    >> help gnudge
    USAGE:
        GNUDGE s n
    
    DESCRIPTION:
         Do something obscure
         GNUDGE is a function value.
    
    ARGUMENTS:
         s -- first arg (Type: string)
         n -- second arg (Type: number)
    >>

That certainly doesn't qualify as "any easy way" but it does
contain a hint for anyone who'd like to tackle writing a
HELP-METHOD function that does for object methods what HELP
does for "ordinary" functions...

-jn-
-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to