>This got to be a naive question, but I need an enlightenment either
>theoretical or practical. In the following code I tried to compare 
>two record type variables which belong to the same record type:


>var record1, record2 : TRecordType;
>if record1 = record2 then  
>Is there a way to compare two records at once without check
>each of its filed one by one?


I think Record assignment is permitted but I'm not so sure about
comparison... There are also issues about references since it won't
copy a referenced object only the reference itself.

--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to