[fpc-devel] StrToInt -- Strange behaviour
Ewald
ewald at yellowcouch.org
Thu Feb 21 22:35:03 CET 2013
Once upon a time, Marco van de Voort said:
> In our previous episode, Ewald said:
>> Apparently the StrToInt function interprets strings starting with an `x`
>> as hexadecimal numbers? This behaviour seems rather strange to me
>> (strings starting with 0x would be a bit more understandable, but then
>> again, we're programming pascal here, not C) and it is not mentioned in
>> the documentation. What do I do with it?
>>
>> A- File a bug concerning incomplete documentation?
>> B- File a bug concerning incorrect behaviour of StrToInt()?
>> C- Do nothing and live with it.
>> D- ....?
> E- Test with Delphi and conclude it is compatibility.
So there was another option... Totally forgot about delphi compatibility ;-)
--
Ewald
More information about the fpc-devel
mailing list