title: Trying loop the list so it print out each even number
body: <p>I'm trying to find a way to get applescript to display odd and even number.</p>
  
  <p>These numbers are even 4<br>
  These numbers are even 6<br>
  These numbers are even 8<br>
  These numbers are even 10      </p>
  
  <p>These numbers are odd 3</p>
  
  <p>These numbers are odd 5</p>
  
  <p>These numbers are odd 7</p>
  
  <p>These numbers are odd 9</p>
  
  <p>I tried looking it up but I don't really understand applescript that well. </p>
  
  <pre><code>set numberList to {3, 4, 5, 6, 7, 8, 9, 10}
  repeat with i in numberList
    repeat while i mod 2 = 0
      display dialog "These numbers are even " &amp; i
    end repeat
  end repeat
  
  set numberList to {3, 4, 5, 6, 7, 8, 9, 10}
  repeat with numberList in numberList
    repeat while numberList mod 2 = 1
      display dialog "These numbers are odd " &amp; numberList
    end repeat
  end repeat
  </code></pre>
  
  <p>No errors. Just stuck in a infinite loop.
  Just display: These numbers are even 4 over and over again</p>