title: how to make delphi wait 30sec then continue
body: <p>I am trying to make an infinite loop but I want the loop to run every 30 seconds. The loop will start. A bunch of if statements take place and some information will be changed. The loop must then pause for 30 seconds and then the loop will start again. This must continue forever.</p>
  
  <p>I am looking for a way to <strong>pause</strong> the loop for 30 seconds and then continue. Any good advice will be appreciated.</p>
  
  <blockquote>
    <p><strong>EDIT</strong> #1</p>
  </blockquote>
  
  <p>The program shows "special" information based on date and time: As the time changes the information changes: 06:00 = math; 07:30 = biology. The program also shows you the time left until the next class starts. Thus the program needs to run continuously to update the time so that it knows exactly what period it is and how much time is left until the next period.</p>
  
  <blockquote>
    <p><strong>EDIT</strong> #2</p>
  </blockquote>
  
  <p><strike>I want put in a "refresh" so that script</strike> I want the script to be called on a set interval so that it is not running constantly and eating the ram. This interval must be 30 seconds.</p>