[Lazarus] Compare record

aradeonas aradeonas at operamail.com
Tue Mar 10 22:23:02 CET 2015


Hi,

How can I compare two record? Like this :
> type TRec=record na:string; end;

> var R1,R2:TRec; Begin
> R1.na:='A';
> R2.na:='B';
>
> if R1<>R2 then Showmessage('Error')

Regards, Ara

-- 
http://www.fastmail.com - Email service worth paying for. Try it for free

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150310/b6cad623/attachment-0002.html>


More information about the Lazarus mailing list