[fpc-pascal] Longstrings

J├╝rgen Hestermann juergen.hestermann at gmx.de
Wed Jul 4 07:09:18 CEST 2012


Am 2012-07-04 00:48, schrieb Rainer Stratmann:
> How to put longstrings globally on?
> I tried with {$h+} in project compiler settings (other) with no effect.
Safest method is not to use the generic type "string" in your code.
Instead use directly the string type that you need (i.e. "ansistring" or "unicodestring").
That way you don't have to fight with compiler switches at all.




More information about the fpc-pascal mailing list