Mirsad Todorovac wrote:
I was thinking about how having the sane part of string converted and stored could provide extra functionality - that would add a means for the function to be used in i.e. numerical expressions parsing at little extra cost, since the number appears to be already converted (the right value appears in `x' in the case of only one invalid char).
Of course, provided that this is what we want. We could OTOH want either completely 'clean' string or nothing.
I can't tell the number of program's that do rely on BP or Delphi `Val' undocumented behavior.
Frank?
As I said, I'd prefer to leave it undefined (and document it as undefined), unless we hear of a definitive behaviour of some other relevant compiler.
Frank