[fpc-pascal] Is it save to think default value of untouched string is ''?

Juha Manninen juha.manninen at phnet.fi
Sat Mar 6 22:03:49 CET 2010

> 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 

Juha Manninen

More information about the fpc-pascal mailing list