If f$LONGSTRINGS ONg is speci ed, the keyword String (no length speci er) will be treated as AnsiString, and the compiler will treat the corresponding variable as an ansistring, and will generate corresponding code.
By default, the use of ansistrings is o , corresponding to f$H-g. The system unit is compiled without ansistrings, all its functions accept shortstring arguments. The same is true for all RTL units, except the sysutils unit, which is compiled with ansistrings.