Easy work with Structures with 'SubStructure' and 'Insert...
Posted: Fri Jun 15, 2007 4:12 pm
With the command 'InsertStructure' you can insert a structure in a structure:
the same as
With 'SubStructure' you can mace a Structure in a Structure:the same as
Code: Select all
Structure Struc1
bVar1.b
lVar2.l
sVar3.s
EndStructure
Structure Struc2
sName.s
InsertStructure Struc1
EndStructure
Code: Select all
Structure Struc1
bVar1.b
lVar2.l
sVar3.s
EndStructure
Structure Struc2
sName.s
bVar1.b
lVar2.l
sVar3.s
EndStructure
With 'SubStructure' you can mace a Structure in a Structure:
Code: Select all
Structure Struc
sValue.s
SubStructure SubName
lVar.l
EndSubStructure
EndStructure
Code: Select all
Structure _Struc_SubName
lVar.l
EndStructure
Structure Struc
sValue.s
SubName._Struc_SubName
EndStructure