Compare ever element in an array to a static value?

 
Is there a way for me to compare every element of an array with a static value via an IF statement? I don't think ArrayCompare works for this.  Thanks
 

in a for loop with the if statement == is equal to.

  
   for(int i=0;i<total_elements;i++)
    {
     if(array_here[i]==value_here)
      {
       //Do something.
      }
    }
 
Marco vd Heijden:

in a for loop with the if statement == is equal to.

Very good sir! Thank you!
Reason: