take for example the following
PHP Code:
createObj(obj){
temp.str = obj.newobjname;
new GuiDrawingPanel(str){
//... etc
}
temp.obj = (@str);
echo( obj.name); //returns "obj";
echo( obj.objecttype() ); //returns "TGraalVar
echo( (@str).objecttype() ); //returns "GuiDrawingPanel"
echo( (@str).name ); //returns "str";
}
what is with this wonky object referencing? is there any sort of findobject function I could use instead to avoid this hassle of references not working properly?