I added an one dimensional array (width:4, height:1, depth:1) which has 4 cells. And with floor(random(9)) expression filled the cells which the numbers from 0 to 9.
I want to check how many times a value exists in this array.
So I created attached event. My problem is, this event continuosly add 1 to global variable X. I want to check the array once and then stop.
As an example, if the array cells are (1,4,4,7) and I want to check how many 4's are placed in the array (in this example 2), how can I do it.
Thanks in advance...