[C++ scripting help] Cheking if character or digit?
#6

yeah

use this fuction i made for pawn
pawn Код:
IsNumero(const string[])
{
    for (new cell = 0, tamanho = strlen(string); cell < tamanho; cell++)
    {
        if (string[cell] <= '9' || string[cell] >= '0') return 1;
    }
    return 0;
   
}
Reply


Messages In This Thread
[C++ scripting help] Cheking if character or digit? - by davve95 - 08.05.2014, 18:13
Re: [C++ scripting help] Cheking if character or digit? - by gtakillerIV - 08.05.2014, 18:15
Re: [C++ scripting help] Cheking if character or digit? - by Mauzen - 08.05.2014, 19:47
Re: [C++ scripting help] Cheking if character or digit? - by davve95 - 09.05.2014, 19:35
Re: [C++ scripting help] Cheking if character or digit? - by Vince - 09.05.2014, 19:52
Re: [C++ scripting help] Cheking if character or digit? - by caoraivoso3 - 09.05.2014, 21:40

Forum Jump:


Users browsing this thread: 2 Guest(s)