testing code on time interval
<p>Hi I want to run code over a time period. For example i would like my code to do something like this.</p>

<pre><code>for(every 5 minutes until i say to stop)
 automatically read in new value for x
 automatically read in new value for y

if (x==y)
     //do something

if (x!=y)
     //do something else
</code></pre>
