
13.10.2010, 17:50
|
 |
Let Me Show You
|
|
Регистрация: 30.04.2010
Адрес: Северодвинск
Сообщения: 5,426
Версия Delphi: 7, XE5
Репутация: 59586
|
|
или StrToIntDef:
Цитата:
StrToIntDef function
Converts a string that represents an integer (decimal or hex notation) to a number.
function StrToIntDef(const S: string; Default: Integer): Integer;
Description
StrToIntDef converts the string S, which represents an integer-type number in either decimal or hexadecimal notation, into a number. If S does not represent a valid number, StrToIntDef returns the number passed in Default.
|
__________________
Пишу программы за еду.
__________________
|