[fpc-pascal] Primitive Record Wrappers

Mazola Winstrol mazofeifer at gmail.com
Sat Mar 19 19:22:44 CET 2016


2016-03-11 0:15 GMT-03:00 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
>
>
I will fix the unit names, as suggested by Sven and Michael.

The approach i used doesn't work with the current fpc 3.0 release due to
some bugs in the compiler (#0029859
<http://bugs.freepascal.org/view.php?id=29859>  and #0029792
<http://bugs.freepascal.org/view.php?id=29792>).

Please wait for the fixes. I will send a new version here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160319/d4b14fd8/attachment.html>


More information about the fpc-pascal mailing list