The StrToInt function converts an Integer string, IntegerString such as '123' into an Integer.
It supports +ve and -ve numbers, and hexadecimal numbers, as prefixed by $ or 0x. strtoint支持以$或者0x开头的16进制表示的数字,所以 inttostr(strtoint('xa')) = inttostr(strtoint('$a')) = inttostr(strtoint('10'));
xb = 16进制的B=11
It supports +ve and -ve numbers, and hexadecimal numbers, as prefixed by $ or 0x. strtoint支持以$或者0x开头的16进制表示的数字,所以
inttostr(strtoint('xa')) = inttostr(strtoint('$a')) = inttostr(strtoint('10'));
--
说的对;
你要习惯看帮助,其实帮助中写得很清楚了
十六进制数,你把那个x理解错了。