53 lines
1.7 KiB
HTML
53 lines
1.7 KiB
HTML
<HTML>
|
|
<HEAD><TITLE>QuickBASIC 3.0 - Long Entry</TITLE></HEAD>
|
|
<BODY>
|
|
|
|
<A HREF="ng33204.html">[<<Previous Entry]</A>
|
|
<A HREF="ng320.html">[^^Up^^]</A>
|
|
<A HREF="ng3395b.html">[Next Entry>>]</A>
|
|
<A HREF="menu.html" >[Menu]</A>
|
|
<A HREF="info.html">[About The Guide]</A>
|
|
<HR>
|
|
<PRE>
|
|
<B>WHILE Begin Definition of WHILE/WEND Loop</B>
|
|
|
|
<B>WHILE</B> <U>expression</U>
|
|
.
|
|
. [<U>statements</U>]
|
|
.
|
|
<B>WEND</B>
|
|
|
|
Begins the definition of a WHILE/WEND loop.
|
|
|
|
<U>expression</U> A numeric expression.
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
<B>Notes:</B> QuickBASIC starts by evaluating <U>expression</U>. If <U>expression</U>
|
|
is nonzero (true), the next statement is executed. If
|
|
<U>expression</U> is zero (false), control passes to the first
|
|
statement following the next WEND statement.
|
|
|
|
When QuickBASIC encounters the WEND statement, it
|
|
reevaluates the expression argument to the most recent
|
|
WHILE. If that argument is still nonzero (true), the
|
|
process is repeated; otherwise, execution continues at the
|
|
next statement.
|
|
|
|
WHILE-WEND loops may be nested to any level of complexity,
|
|
but there must be a WEND for each WHILE.
|
|
</PRE>
|
|
<HR>
|
|
<B>See Also:</B>
|
|
<A HREF="nge1c2.html">DO</A>
|
|
<A HREF="ng11abb.html">FOR</A>
|
|
<A HREF="ng1982e.html">LOOP</A>
|
|
<A HREF="ng1ca3c.html">NEXT</A>
|
|
<A HREF="ng33204.html">WEND</A>
|
|
<HR>
|
|
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
|
|
Written by <A HREF="http://www.acemake.com/hagbard">Dave Pearson</A>
|
|
<HR>
|
|
</BODY>
|
|
</HTML>
|