Hi,

I have a record and it has some value and a value with type of that
record it self like this example but compiler wont allow me to do this
and give "Type "TExampleRecord" is not completely defined" error,and I
dont want to use class and keep creating and destroying it,they will be
some simple record.

> //Works with class
>
>  TExample=class s:string; E:TExample; end;
>
> //Doesn't work with record
>
> TExampleRecord=record s:string; ER:TExampleRecord; end;

Regards, Ara


-- 
http://www.fastmail.com - mmm... Fastmail...

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to