Hello there,
Type TBigObject
Field Smaller_Object:TSmallObject
Field Some_Variable:int = 15
End Type
Type TSmallObject
Method Do_Something()
????????????
End Method
End Type
Let's say that I create an instance of a TBigObject, which contains itself an instance of SmallObject in it field called "Smaller_Object". Is it possible then for Smaller_Object to access a field in its parent object, for example, I would like the Do_Something() method to access "Some_Variable".
Thank you
Type TBigObject
Field Smaller_Object:TSmallObject
Field Some_Variable:int = 15
End Type
Type TSmallObject
Method Do_Something()
????????????
End Method
End Type
Let's say that I create an instance of a TBigObject, which contains itself an instance of SmallObject in it field called "Smaller_Object". Is it possible then for Smaller_Object to access a field in its parent object, for example, I would like the Do_Something() method to access "Some_Variable".
Thank you