[Lazarus] Declare record variant in it self

aradeonas aradeonas at operamail.com
Thu May 7 12:15:05 CEST 2015


Not exactly.I prefer to not make base for each record. Something
like this :

> TExample=class s:string; E:TExample; end;

> var e,e2:TExample; begin
> e.s:='1';
> e2.s:='2';
> e.E:=e2; Writeln(e2.s);

Regards, Ara



-- 
http://www.fastmail.com - IMAP accessible web-mail

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150507/a80a7e28/attachment-0003.html>


More information about the Lazarus mailing list