[fpc-pascal] how to make a type private to the unit but not defining it in the implementation section?
dennis at avidsoft.com.hk
Fri Mar 8 08:16:48 CET 2019
Anthony Walter wrote:
> _PrivateData = class
> private type THidden = record Name: string; end;
> ... and later in the implementation section of the same unit ...
> var H: _PrivateData.THidden; begin H.Name := 'Hello'; end;
But that will have the same problem of extra long method declaration name
More information about the fpc-pascal