Thyandyr
29-05-2017, 07:28 PM
type
TSomething = record
private const
A = 1;
private type
TBlaah = packed record
X: Byte;
Z: Byte;
FF: Byte;
end;
private
Dog: Integer;
public
function Mix(const Color1: byte; const Color2: byte): String;
end;
I thought methods and properties were only for classes. What is the name of this feature, where can I read about it?
TSomething = record
private const
A = 1;
private type
TBlaah = packed record
X: Byte;
Z: Byte;
FF: Byte;
end;
private
Dog: Integer;
public
function Mix(const Color1: byte; const Color2: byte): String;
end;
I thought methods and properties were only for classes. What is the name of this feature, where can I read about it?