<div>Hi,</div><div><br></div><div>If you want a 16bit version, then probably WideString? UTF8String is better for many purposes though. (Though in FPC is is currently just an alias to AnsiString).</div><div><br></div><div>
Thank you,</div><div> Noah Silva</div><br><div class="gmail_quote">2013/4/3 Mark Morgan Lloyd <span dir="ltr"><<a href="mailto:markMLl.fpc-pascal@telemetry.co.uk" target="_blank">markMLl.fpc-pascal@telemetry.co.uk</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">leledumbo wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
BTW, recently there are many discussions about language features, now I<br>
</blockquote>
would like to ask one question, why the following is not supported in<br>
pascal:<br>
<br>
procedure SomeThing(AParam: array[0..10] of Integer);<br>
<br>
or <br>
procedure SomeThing(Aparam: string[10]);<br>
<br>
But you have to define a custom type first?<br>
<br>
Delphi compatibility and something else (should be documented on the wiki,<br>
but I forgot on which release).<br>
</blockquote>
<br></div>
I wonder if I could ask a related question. I was looking at some parser code yesterday that I wrote years ago, and that still compiles with TP5, TopSpeed and so on. It's got a couple of underlying string[255] declarations: is there a 16-bit Unicode equivalent which uses this syntax?<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Mark Morgan Lloyd<br>
markMLl .AT. <a href="http://telemetry.co" target="_blank">telemetry.co</a> .DOT. uk<br>
<br>
[Opinions above are the author's, not those of his employers or colleagues]</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<u></u>_________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.<u></u>org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/<u></u>mailman/listinfo/fpc-pascal</a><br>
</div></div></blockquote></div><br>