I think this is best explained in code.
This works :
And this doesn't :
And the reason it doesn't is that Identifier Super.A is not found.
Is it my syntax ( It's 4am as I type this, so I could have messed something up ) or is this supposed not to work? Solution?
BTW it works just fine if I move the functions out of the type. But then I've destroyed the aim of keeping everything self-contained.
This works :
Type Base Global A:Int End Type Type Ext Extends Base Function DoStuff() Super.A=10 End Function End Type
And this doesn't :
Type Base Global A() End Type Type Ext Extends Base Function DoStuff() Super.A=DoOtherStuff End Function Function DoOtherStuff() Print "BLAH" End Function End Type
And the reason it doesn't is that Identifier Super.A is not found.
Is it my syntax ( It's 4am as I type this, so I could have messed something up ) or is this supposed not to work? Solution?
BTW it works just fine if I move the functions out of the type. But then I've destroyed the aim of keeping everything self-contained.