[fpc-pascal] Primitive Record Wrappers

silvioprog silvioprog at gmail.com
Sat Feb 27 18:58:26 CET 2016


On Sat, Feb 27, 2016 at 2:49 PM, Mazola Winstrol <mazofeifer at gmail.com>
wrote:

> I've implemented a new version. For this version i created a mock class to
> use with FHasValue (the previous implementation uses a hack to the
> interface internal layout).
>

Thanks for share that. It seems a very useful unit.

unit NullableTypes;
>
> {$mode delphi}{$H+}
>

$MODE DELPHI implies {$H ON}
<http://www.freepascal.org/docs-html/prog/progsu105.html>, so so you should
remove the {$H+}.

-- 
Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160227/1369e004/attachment.html>


More information about the fpc-pascal mailing list