[HELP] String problem in includes.
#4

maybe this will work
pawn Код:
stock IsNumeric(const string[]) //By Jan "DracoBlue" Schьtze (edited by Gabriel "Larcius" Cordes
{
    new length=strlen(string);
    if(length==0)
    {
        return 0;
    }
    for (new i=0; i<length; i++)
    {
        if (!((string[i] <= '9' && string[i] >= '0') || (i==0 && (string[i]=='-' || string[i]=='+'))))
        {
            return false;
        }
    }
    return 0;
}
edit: unless its prob with dini which i know nothing about.
Reply


Messages In This Thread
[HELP] String problem in includes. - by MartinDee - 31.07.2010, 08:31
Re: [HELP] String problem in includes. - by willsuckformoney - 31.07.2010, 08:47
Re: [HELP] String problem in includes. - by MartinDee - 31.07.2010, 08:54
Re: [HELP] String problem in includes. - by iggy1 - 31.07.2010, 09:02
Re: [HELP] String problem in includes. - by MartinDee - 31.07.2010, 09:43
Re: [HELP] String problem in includes. - by kc - 31.07.2010, 09:47

Forum Jump:


Users browsing this thread: 1 Guest(s)