Re: [Jprogramming] class method returning the instance

2022-02-01 Thread Raul Miller
I think you are looking for the result of coname'' It's a function, rather than a special variable, but yes -- if you are in an instance, it will identify that instance for you, and you can use that value to refer to that instance from elsewhere. I hope this helps, -- Raul On Tue, Feb 1, 2022

[Jprogramming] class method returning the instance

2022-02-01 Thread Raoul Schorer
Dear all, I'm following the J for C tutorial, and I'd like to know whether J allows methods to return the instance, i.e. 'this' in Java or 'self' in SmallTalk? Thanks! Raoul -- For information about J forums see http://www.jsoftw