[Question]How to cheking an array?
#1

Hi guys i have a Question for you.
How i can checking if an array exists?

Thanks (:
BlueX'
Reply
#2

no, no have.

or you whether read/Search value in array ?

Exemple:

pawn Код:
new MyArray[200];

//
MyArray[125] = 500;



//To Search:
for(new i; i != sizeof(MyArray); ++i)
{
       if(MyArray[i] == 500) printf("I thought!, Array[%i] equal %d", i, 500);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)