IsNumeric
#2

Option no.1: Define IsNumeric by creating it's stock.
Option no.2: Use the include utils.inc.

here's the stock
pawn Код:
IsNumeric(const string[])
{
    for (new i = 0, j = strlen(string); i < j; i++)
    {
        if (string[i] > '9' || string[i] < '0') return 0;
    }
    return 1;
}
Reply


Messages In This Thread
IsNumeric - by ZmaXy - 13.08.2011, 19:02
Re: IsNumeric - by KfirRP - 13.08.2011, 19:03
Re: IsNumeric - by ZmaXy - 13.08.2011, 19:05
Re: IsNumeric - by KfirRP - 13.08.2011, 20:06
Re: IsNumeric - by [MG]Dimi - 13.08.2011, 20:11

Forum Jump:


Users browsing this thread: 1 Guest(s)