="106">Function GetNextEvent<br/><p>(eventMask:Integer;<b>var</b> theEvent:EventRecord): Boolean</p></td>
    <td width="94">if GetNextEvent(2,Rec)<br/><p>thenº<br/></p><p>elseº</p></td>
    <td width="166">A logical function which returns <i>True</i> if an event of the requested type exists on the event queue; <i>False</i> otherwise. If <i>True</i>, it also returns a descriptive record of the event. (type, location, time, conditions, etc)</td>
  </tr>
</table>

<h3>Notes</h3>

<p>A semi-colon is not requ