[fpc-pascal] Longstrings

Rainer Stratmann RainerStratmann at t-online.de
Wed Jul 4 11:41:43 CEST 2012

Am Wednesday 04 July 2012 10:22:10 schrieb Marco van de Voort:
> In our previous episode, J?rgen Hestermann said:
> > > 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").
> I wouldn't do that. That makes later migration unnecessary involved. Just
> define an alias and use that everywhere.
> But a -Sh in the compiler settings should go a long way.
> There is also a "tick" for {$H+} in the compiler options->"parsing". (but I
> have v1.1 here, not fixes)

Yes that works both! Thanks.

Next question is how to put asmmode intel global on?

More information about the fpc-pascal mailing list