> If you want Delphi-compatible behaviour, you must add {$mode delphi} at the
> top of your program. In the default mode, "string" is an alias for
> shortstring instead of ansistring ({$h-} mode).

And even then you should initialize strings. They are not quaranteed to be 
empty.

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

Reply via email to