<div dir="ltr">2016-03-11 0:15 GMT-03:00 silvioprog <span dir="ltr"><<a href="mailto:silvioprog@gmail.com" target="_blank">silvioprog@gmail.com</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><div class="gmail_quote">On Sun, Mar 6, 2016 at 7:21 PM, Mazola Winstrol <span dir="ltr"><<a href="mailto:mazofeifer@gmail.com" target="_blank">mazofeifer@gmail.com</a>></span> wrote:</div><div class="gmail_quote">[...]</div></span><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Please see the code in attachments and send your suggestions / remarks.<br></div></div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for share.</div><div class="gmail_extra"><br></div><div class="gmail_extra">How do I use the the <span style="font-family:monospace,monospace">NullableTypes.String</span> unit?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Tried:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"><font face="monospace, monospace">program project1;</font></div><div class="gmail_extra"><font face="monospace, monospace"><br></font></div><div class="gmail_extra"><font face="monospace, monospace">{$mode objfpc}{$H+}</font></div><div class="gmail_extra"><font face="monospace, monospace"><br></font></div><div class="gmail_extra"><font face="monospace, monospace">uses NullableTypes.String;</font></div><div class="gmail_extra"><font face="monospace, monospace"><br></font></div><div class="gmail_extra"><font face="monospace, monospace">begin</font></div><div class="gmail_extra"><font face="monospace, monospace">end.</font></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Got:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><font face="monospace, monospace">Fatal: Syntax error, "identifier" expected but "STRING" found</font><span class=""><font color="#888888"><br></font></span></div><span class=""><font color="#888888"><div class="gmail_extra"><br></div></font></span></div></div></blockquote><div><br></div><div>I will fix the unit names, as suggested by Sven and Michael.<br><br></div><div>The approach i used doesn't work with the current fpc 3.0 release due to some bugs in the compiler (<a href="http://bugs.freepascal.org/view.php?id=29859">#0029859</a>  and <a href="http://bugs.freepascal.org/view.php?id=29792">#0029792</a>).<br><br></div><div>Please wait for the fixes. I will send a new version here.<br></div><div><br></div></div></div></div>