pascalabcnet/TestSuite/units/u_records6.pas
Ivan Bondarev 02f177d5ba #2662
2022-05-08 11:02:24 +02:00

22 lines
411 B
ObjectPascal
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

unit u_records6;
type
// Обязательно запись - с классом не воспроизводится
t1 = record
// Обязательно свойство
property p1: byte read 0;
end;
t2 = class
// Обязательно свойство, использующее t1
property p2: word write
begin
var o: t1;
end;
end;
end.