[fpc-pascal]Forward type declaration
Johann.Glaser at gmx.at
Wed Apr 23 22:04:20 CEST 2003
> It is already possible.
> You need to define a pointer type to the record first. See the example for
> a linked list:
> PRec = ^TRec
> TRec = record
> next : PRec;
I tried this. But therefore the declaration of TRec must be immediately
after the declaration of PRec. Nothing can be in between. But this would
be necessary for my case.
Johann Glaser <Johann.Glaser at gmx.at>
Vienna University of Technology
____ http://www.johann-glaser.at/ ____
More information about the fpc-pascal