Czy istenieje mozliwosc definiowania wlasnych operatorow
albo zmieniania dzialania juz zdefiniowanych?
chodzi mi o porownywanie rekordow.
type
TStatus = record
kod: integer;
komunikat: string;
end;
var s1,s2: Tstatus;
teraz robie tak:
if s1.kod < s2.kod then s1 := s2;
a chcialbym
if s1 < s2 then s1 := s2;
Da sie cos takiego zrobic??