Documentation of StrToInt and Val is incomplete
Original Reporter info from Mantis: Ewald
-
Reporter name:
Original Reporter info from Mantis: Ewald
- Reporter name:
Description:
* Observation: StrToInt returns valid output for xabcd
, interpreting it as hexadecimal. See example program.
* Problem: This is nowhere documented (other cases like &15
or $FF
or %101
are documented)
*Solution:
- Documentation of StrToInt (and other related functions) should contain something along the lines of This fuction calls through to Val().
- Documentation of Val should be extended by the fact that '0x', 'X' and 'x' are valid prefixes for hexadecimal values as well.
Mantis conversion info:
- Mantis ID: 23933
- Version: 2.6.0
- Fixed in version: 3.0.0
- Fixed in revision: 999 (#1f8063e6)
- Target version: 3.0.0