Heyo,
I am wondering, would it be theoretically possible to implement inheritance for structs?
like:
type
TBase = record
public
A: integer;
B: char;
method MyAbstractMethod; abstract;
end;
TSub = record(TBase);
public
C: string[10];
method MyAbstractMethod; override;
begin
writeln('I WAS OVERRIDEN!!');
end;
end;
Would supercool to find out
cheers