[fpc-pascal] how to make a type private to the unit but not defining it in the implementation section?
Anthony Walter
sysrpl at gmail.com
Thu Mar 7 20:13:45 CET 2019
type
_PrivateData = class
private type THidden = record Name: string; end;
end;
... and later in the implementation section of the same unit ...
var H: _PrivateData.THidden; begin H.Name := 'Hello'; end;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20190307/366307ad/attachment.html>
More information about the fpc-pascal
mailing list