in system.sysutils.pas
, in Rio they add this instruction:
var intPart: String;
... IntPart.Chars[length(IntPart)] in ['1','3','5','7','9'] ...
But as far as i know, s.Chars[xx] will be always zero-based string so doing IntPart.Chars[length(IntPart)] in ['1','3','5','7','9']
will always go out of the boundary ?
it's must not be written instead
... IntPart.Chars[length(IntPart)-1] in ['1','3','5','7','9'] ...
Or I miss something ?