Atm I cleaning some code I have. It loops through an array, reads the properties and then build some plugins. A part of this is sending the object(?) name to an action so that action can read the properties. for instance:
Code
<action name="createtext">
addplugin(text_%1);
copy(plugin[text_%1].html, panorama.pano[%1].title);
</action>
you can imagine alot of panorama.pano[%1].someattribute happens, and later even a second depth is added panorama.pano[%1].variant[%2].title
I was wondering if there was a trick in wich I could just throw the object itself (instead of the name/index) in the action.
I then could do for instance
perhaps alsoo not so clean, but im trying to reduce the code. Perhaps better would be creating an object name;
or
Code
copy(object, panorama.pano[get(i)].variant[get(j)]);
copy(plugin[someplugin].html, object.title);
Just throwing some ideas...