I'm looking for a better solution that what I currently have put in place.
Consider class A, it sets up various information in the .LOCAL directory.
It then initiates child task B1 running code that is defined in class B.
Then A starts child task B2 also running class B. Both B1 and B2 need to
use their own set of local data. Methods in B make use of lots of other
classes and many of the methods in them need access not only to the data in
the .LOCAL directory but also to the unique task-related data. So how can
I, in an elegant way, make this data directly available to all these
methods? I have no other solution than passing an object with the
task-related data to the methods that need it as a parameter, but there
MUST be a better way of doing it. I've been thinking that maybe INHERIT
could be used somehow, but I haven't been able to figure out how. I've also
looked at finding some piece of information within the ooRexx environment,
always accessible, that uniquely identifies each task B1 and B2 and that I
could use as key for a .LOCAL directory, but I can't find any such
information. So does anybody have a dream-solution to this?
Thanks,
Staffan
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users