I've a little wish again.
It would be very cool, if you could make it possible, that we can use more than one extends with structures.
In example:
Code: Select all
Structure cLayer Extends cBase Extends tLayer
EndStructure
Best regards
Wolf
Code: Select all
Structure cLayer Extends cBase Extends tLayer
EndStructure
Code: Select all
Structure SShape
Color.l
EndStructure
Structure SRectangle Extends SShape
Width.l
Height.l
EndStructure
Procedure SShape_GetColor(*Shape.SShape)
ProcedureReturn *Shape\Color
EndProcedure
My.SRectangle\Color = $deadbeef
Debug Hex(SShape_GetColor(@My))
Code: Select all
Structure SSoccerField
NumberOfPlayers.l
EndStructure
Structure SShape
Color.l
EndStructure
Structure SRectangle Extends SSoccerField Extends SShape
Width.l
Height.l
EndStructure