On 18 August 2012 21:33, Sven Barth <pascaldra...@googlemail.com> wrote:
> "String" can mean either "ShortString", "AnsiString" or "UnicodeString"
> depending on the compiler settings:
>
> Non-Delphi modes and $H- (default): ShortString
> Delphi mode: AnsiString
> DelphiUnicode mode: UnicodeString
> Non-Delphi modes and $H+: AnsiString
> Non-Delphi modes and $H- and modeswitch "unicodestrings": (AFAIK)
> ShortString
> Non—Delphi modes and $H+ and modeswitch "unicodestrings": UnicodeString


@Michael van Canneyt
Now there is a good table to add to the Lang Ref or some other FPC
documentation.

[...thinking out loudly...]
Oh how I yearn for the Java string handling simplicity - compared to
the mess Delphi and FPC is in.


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://fpgui.sourceforge.net
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to