On lauantai, 28. marraskuuta 2009 00:49:25 Jonas Maebe wrote:
> On 27 Nov 2009, at 23:43, Juha Manninen wrote:
> > I understand it is important to support also the old shortstring but it
> > should be defined explicitly and "string" should always mean just one
> > thing.
> 
> ansistring and shortstring always mean just one thing. "string" originally
>  meant shortstring in Turbo Pascal, and in Delphi it means shortstring with
>  {$h-} and ansistring with {$h+} (and {$h+} is the default in Delphi and in
>  FPC's Delphi mode).

So {$h+} is the important part here. Ok, I partly misunderstood the settings.

From Mattias:
> Then you will loose some fpc features.

fpc mode requires more strict syntax with function pointers (event handler 
assignment). It doesn't sound like a big deal. What else? I must study this 
little more.

Juha
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to