<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=WHILE</id>
	<title>WHILE - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=WHILE"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=WHILE&amp;action=history"/>
	<updated>2026-08-25T09:02:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=WHILE&amp;diff=783&amp;oldid=prev</id>
		<title>ConvertBot: implements a logical do-while loop function in a macro</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=WHILE&amp;diff=783&amp;oldid=prev"/>
		<updated>2020-04-27T22:04:55Z</updated>

		<summary type="html">&lt;p&gt;implements a logical do-while loop function in a macro&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;implements a logical do-while loop function in a macro&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
[VALUE_1]   Left side of expression&lt;br /&gt;
[TEST]      Logical test to be performed&lt;br /&gt;
[VALUE_2]   Right side of expression&lt;br /&gt;
&amp;lt;...&amp;gt;	    More expressions using AND/OR &lt;br /&gt;
&lt;br /&gt;
While the logical expression is true, the statements in the range of the&lt;br /&gt;
WHILE-ENDWHILE loop are executed.   &lt;br /&gt;
&lt;br /&gt;
All of the logical tests available with IF are available for WHILE.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
  The following example samples a large data file for frequency components. &lt;br /&gt;
&lt;br /&gt;
    STATUS large_file no_elements&lt;br /&gt;
    CALC no_elements no_elements 1024 -&lt;br /&gt;
    RESULT index 1&lt;br /&gt;
    WHILE index LT no_elements&lt;br /&gt;
      FFT large_file tmp index 1024&lt;br /&gt;
      STATISTICS tmp ,,,,,,,, max_index&lt;br /&gt;
      CALC index index 100000 +&lt;br /&gt;
    ENDWHILE&lt;br /&gt;
    &lt;br /&gt;
  While loops can be nested any number of levels deep.  &lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
  /TOL=n - The tolerance for the EQT test [DEF=1e-6]&lt;br /&gt;
  /CS    - Perform a CASE SENSITIVE test. For EQS, EQSS and SUBS only.&lt;br /&gt;
           [DEF=Ignores case]&lt;br /&gt;
&lt;br /&gt;
SEE ALSO:  ENDWHILE, BREAK, IF, GOTO, nxm.sys.lib.Args&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:NXM_Explain]]&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>