Code: Select all
Structure Main
*pointer.SubStruc
*noerror.ANonexistentStruc
EndStructure
Structure SubStruc Extends Main
foo.i
EndStructure
test.Main
test\pointer\foo = 2 ; it works, because the structure is subsequently defined
; test\noerror\bar = 3 ; clear, compiler error, an undefined structure is used
Code: Select all
Structure Main
Array *a.SubStruc(1) ; compiler error
List *b.SubStruc() ; compiler error
Map *c.SubStruc() ; compiler error
EndStructure
Structure SubStruc Extends Main
foo.i
EndStructure
test.Main
AddElement(test\b())
test\b()\foo = 2
Thanks
Kevin