Re: [Oorexx-devel] Another question

2024-06-03 Thread Gilbert Barmwater
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() met

Re: [Oorexx-devel] Another question

2024-06-03 Thread Rick McGuire
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 wrote: > Let's say there is a class defined via ::class myClass. It has numerous > methods, both instance method

Re: [Oorexx-devel] Another question ad variable references

2018-05-03 Thread Rick McGuire
On Thu, May 3, 2018 at 4:55 AM, Rony G. Flatscher wrote: > > > On 02.05.2018 17:12, Rick McGuire wrote: > > The question would be whether this should be just documented or whether >> access via variable reference to attributes should be blocked if a >> concurrently executing method of that class

Re: [Oorexx-devel] Another question ad variable references

2018-05-03 Thread Rony G. Flatscher
On 02.05.2018 17:12, Rick McGuire wrote: > The question would be whether this should be just documented or whether > access via variable > reference to attributes should be blocked if a concurrently executing > method of that class is > in guard mode (maybe only if the attribute in

Re: [Oorexx-devel] Another question ad variable references

2018-05-02 Thread Rick McGuire
On Wed, May 2, 2018 at 10:31 AM, Rony G. Flatscher wrote: > On 02.05.2018 15:27, Rick McGuire wrote: > > No, not really. a ::attribute is just a method that allows access to an > object variablewhich is just a variable like any other, just in a > different home. You still need the expose inst

Re: [Oorexx-devel] Another question ad variable references

2018-05-02 Thread Rick McGuire
Note that there's a useful implication to this. It would allow something like this expose finished finished = .false someobject~doSomeWork(>finished) -- do some more stuff guard on when finished -- wait for the thread to continue Where the doSomeWork method could be something like this

Re: [Oorexx-devel] Another question ad variable references

2018-05-02 Thread Rony G. Flatscher
On 02.05.2018 15:27, Rick McGuire wrote: > No, not really. a ::attribute is just a method that allows access to an > object variablewhich > is just a variable like any other, just in a different home. You still need > the expose instruction > to make the magic happen. Thank you!  Extended the

Re: [Oorexx-devel] Another question ad variable references

2018-05-02 Thread Rick McGuire
No, not really. a ::attribute is just a method that allows access to an object variablewhich is just a variable like any other, just in a different home. You still need the expose instruction to make the magic happen. Rick On Wed, May 2, 2018 at 9:16 AM, Rony G. Flatscher wrote: > Experimen