On Fri, 11 Mar 2016, Sven Barth wrote:

Am 11.03.2016 04:16 schrieb "silvioprog" <silviop...@gmail.com>:

On Sun, Mar 6, 2016 at 7:21 PM, Mazola Winstrol <mazofei...@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...

Maybe rename this to NullableTypes.Strings ?

Using keywords as identifiers is a really bad idea.

I can understand it if you need to import data/routines from another
language, but really not for native pascal routines.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to