Yes, that was what I was looking for!  "Example 5.31. Object class — instanceMethods method" in the RexxRef shows many good examples.  Thanks!

Gil

On 6/3/2024 3:27 PM, Rick McGuire wrote:
The CLASS methods are the instance methods of the class object, so you would use the instanceMethods() method to retrieve them.

Rick

On Mon, Jun 3, 2024 at 3:17 PM Gilbert Barmwater <gi...@bellsouth.net> wrote:

    Let's say there is a class defined via ::class myClass.  It has
    numerous
    methods, both instance methods and class methods. If I want to
    enumerate
    the instance methods, supp = .myClass~methods will give me a supplier
    that will do so.  If I specify supp = .myClass~methods(.nil), the
    supplied list will only be the methods specific to myClass and not
    include any inherited ones.  Is there a way to enumerate the CLASS
    methods of myClass,  preferably those specific to myClass?

-- Gil Barmwater



    _______________________________________________
    Oorexx-devel mailing list
    Oorexx-devel@lists.sourceforge.net
    https://lists.sourceforge.net/lists/listinfo/oorexx-devel



_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

--
Gil Barmwater
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to