[Lazarus] Does Lazarus support a complete Unicode Component Library?

Graeme Geldenhuys graemeg.lists at gmail.com
Tue Feb 22 08:58:17 CET 2011


Op 2011-02-21 10:02, Florian Klaempfl het geskryf:
> 
> .... the different handling of temp. interfaces in
> FPC which is only a implementation detail?

Sorry, no idea how that relates to this discussion. Also, please drop
the childish remarks. Grow up and act your age!


> When did String change from ShortString to LongString (actually
> AnsiString) in ObjFPC?

I meant the usage of String, and how it's meaning can be toggled with a
simple compiler directive - yet no other code changes are required from
the developers side. As such, the String type (meaning AnsiString) can
naturally evolve to mean "a String with text encoding support" - no need
for a new type like EncodingEnabledString or CodePageString etc, etc.


> ObjFPC used AnsiString for a String from the
> beginning ...

Learn your own compiler! ;-) Theo is correct, mode ObjFPC defaults to
ShortString, not AnsiString.


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list