17.01.2012, 20:27
How can I check if the inputtext in dialog is a numeric value (integer)?
stock isnumeric(szStr[])//******
{
new
ch,
i;
while ((ch = szStr[i++])) if (ch < '0' || ch > '9') return 0;
return 1;
}
if(IsNumeric(inputtext) {
..
}