[fpc-pascal] Primitive Record Wrappers

Sven Barth pascaldragon at googlemail.com
Fri Mar 11 08:00:41 CET 2016


Am 11.03.2016 04:16 schrieb "silvioprog" <silvioprog at gmail.com>:
>
> On Sun, Mar 6, 2016 at 7:21 PM, Mazola Winstrol <mazofeifer at gmail.com>
wrote:
> [...]
>>
>> Please see the code in attachments and send your suggestions / remarks.
>
>
> Thanks for share.
>
> How do I use the the NullableTypes.String unit?
>
> Tried:
>
> program project1;
>
> {$mode objfpc}{$H+}
>
> uses NullableTypes.String;
>
> begin
> end.
>
> Got:
>
> Fatal: Syntax error, "identifier" expected but "STRING" found

That is indeed not the best name around, but use "&String", that should
work...

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160311/5b356951/attachment.html>


More information about the fpc-pascal mailing list