<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Classic/Legacy CodeWarriorのトピックRe: Exit Loop</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Exit-Loop/m-p/132662#M609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Palm programming issues are now handled by Palm. Please follow this &lt;A href="http://www.palm.com/us/developers/" rel="nofollow" target="_blank"&gt;link&lt;/A&gt; to obtain Palm-specific developer support.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Oct 2006 20:47:14 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2006-10-09T20:47:14Z</dc:date>
    <item>
      <title>Exit Loop</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Exit-Loop/m-p/132661#M608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;I am using CW for Palm to create a project which needs loops.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;My project has two loops, one nested inside the other.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;There is an Abort button and I have put the following code inside the innermost loop which is basically a timer:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;EvtGetEvent (&amp;amp;event, 5);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;if( event.eType == penDownEvent)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;{tester = 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;return;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;Then in the other loop I have:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;EvtGetEvent (&amp;amp;event, 5);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;if (event.screenY &amp;lt; 132) continue;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;else if (tester = 1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;{tester = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;FrmGotoForm (WelcomeForm);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;CurrentView = WelcomeForm;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;return errNone;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;This gets the job done OK but I would appreciate any advice as to whether this is acceptable method.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;I really don't know of any other way to get out of the loop.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 3;"&gt;Barry&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2006 13:27:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Exit-Loop/m-p/132661#M608</guid>
      <dc:creator>bazza</dc:creator>
      <dc:date>2006-10-09T13:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exit Loop</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Exit-Loop/m-p/132662#M609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Palm programming issues are now handled by Palm. Please follow this &lt;A href="http://www.palm.com/us/developers/" rel="nofollow" target="_blank"&gt;link&lt;/A&gt; to obtain Palm-specific developer support.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2006 20:47:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Exit-Loop/m-p/132662#M609</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2006-10-09T20:47:14Z</dc:date>
    </item>
  </channel>
</rss>

