Hi, all, and especially Adriaan
thanks for the help. This solved it exactly.
Toby
Adriaan van Os wrote:
Toby Ewing wrote:
type PCircle = ^CircleRec; CircleRec = record radius : double; x, y : double; t : array[0..3] of Pline; <-- "unknown identifier 'Pline'" end;
Pline = ^LineRec; LineRec = record node_end : PCircle; width, length : double; end;
This is a well known problem. The solution is to move the PLine pointer type definition upward, which is allowed as long as it stays within the same type declaration part. Note, that in your example the Pline type definition is already above the LineRec type definition that it references.
Pline = ^LineRec; PCircle = ^CircleRec; CircleRec = record radius : double; x, y : double; t : array[0..3] of Pline; end; LineRec = record node_end : PCircle; width, length : double end;
Regards,
Adriaan van Os