I've studied the fundamental ooRexx classes but haven't been able to
determine if it is possible for code in a method to get hold of the object
that invoked the method. Yes, sounds messy I agree so consider the
following example:

a = .a~new

::class a
::method init
b = .b~new
b~hi

::class b
::method hi
say "Object" xxxx "invoked this method"

xxxx in this case should be a. Of course one can code

b~hi(self)

and pick up the argument in the hi method, but I'm after a more generalised
way to get hold of that information. Is it possible?

Staffan
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to