m34tcode
2012-12-10 02:14:16
I am trying to create two types that reference each other, and to do so i need to use a pointer type.
waht i have that i would think compiles correctly
I cannot directly reference TSubSkillTab trom the TSkillTab type, because i have not yet defined it.
Am i declaring the pointers wrong?
waht i have that i would think compiles correctly
TSST = ^TSubSkillTab;
TST = ^TSkillTab;
TSkillTab = record
DTM_Active, DTM_Inactive : string;
Placement : integer;
Name,UpText : string;
BorderColor : Integer;
Children : array of TSST;
end;
TSubSkillTab = record
DTM_Active, DTM_Inactive : string;
Placement : integer;
Name,UpText : string;
Parent : TST;
end; I cannot directly reference TSubSkillTab trom the TSkillTab type, because i have not yet defined it.
Am i declaring the pointers wrong?