isNumeric
#3

pawn Код:
stock isNumeric(string[])
{
    for (new i = 0, j = strlen(string); i < j; i++)
    {
        if (string[i] > '9' || string[i] < '0') return 0;
    }
    return 1;
}
add this to somewhere then try to compile...
Reply


Messages In This Thread
isNumeric - by hillko - 11.05.2014, 09:14
Re: isNumeric - by PrivatioBoni - 11.05.2014, 09:15
Re : isNumeric - by ReD_HunTeR - 11.05.2014, 09:16
Re: isNumeric - by DaniceMcHarley - 11.05.2014, 09:19
Re: Re : isNumeric - by hillko - 11.05.2014, 09:27
Re: isNumeric - by hillko - 11.05.2014, 09:30
Re: isNumeric - by PrivatioBoni - 11.05.2014, 09:30
Re : isNumeric - by ReD_HunTeR - 11.05.2014, 09:30

Forum Jump:


Users browsing this thread: 5 Guest(s)