Error on delphi 7 compile, "For loop control variable must have ordinal type".in many functions like this:function TranslateDotToDecimalSeperator(const Value: string) : string;vari : PtrInt; <---ERROR must be a integer;beginResult := Value;for i := 1 to length(Result) do beginif ( Result[i] = '.' ) thenResult[i] := {$IFDEF HAS_DEFAULT_FORMAT_SETTINGS}DefaultFormatSettings.{$ENDIF}DecimalSeparator;end;end;