<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>Hi,<br></div>
<div> </div>
<div>How can I compare two record?<br></div>
<div>Like this :<br></div>
<blockquote><div>type<br></div>
<div>TRec=record<br></div>
<div>na:string;<br></div>
<div>end;<br></div>
</blockquote><div> </div>
<blockquote><div>var<br></div>
<div>R1,R2:TRec;<br></div>
<div>Begin<br></div>
<div>R1.na:='A';<br></div>
<div>R2.na:='B';<br></div>
<div> </div>
<div>if R1<>R2 then<br></div>
<div>Showmessage('Error')<br></div>
</blockquote><div> </div>
<div>Regards,<br></div>
<div>Ara<br></div>
<pre>
-- 
http://www.fastmail.com - Email service worth paying for. Try it for free
</pre>
</body>
</html>