title: How do I check whether an array contains a particular value?
body: <p>how do I correctly write this ?:</p>
  
  <pre><code>If number is different from Array[1] to Array[x-1] the begin...... 
  </code></pre>
  
  <p>where number is an integer and array is an array of integers from 1 to x</p>