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 at 2:37 PM Raoul Schorer <raoul.scho...@gmail.com> wrote:
>
> 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.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to