iteln(A)</span>

<span class="k">while</span> <span class="p">(</span><span class="mi">1</span><span class="p">):</span>
    <span class="n">result</span><span class="p">,</span><span class="n">stream</span><span class="o">=</span><span class="n">resume</span><span class="p">()</span>
    <span class="k">if</span> <span class="n">result</span><span class="o">==</span><span class="n">WAITIO</span><span class="p">:</span>                <span class="c1"># ECLiPSe is waiting for data</span>
        <span class