8 lines
1.4 KiB
HTML
8 lines
1.4 KiB
HTML
<html><head><title>Command: Wend </title><meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'><link rel='stylesheet' href='../css/commands.css' type='text/css'></head><body><span class='Command'> Wend </span></p><span class='header'>Definition:</span> <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>The closing command of a WHILE/WEND loop.</td></tr></table><span class='header'><br>Parameter Description:</span> <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>None.</td></tr></table><p class='header'>Command Description: <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>This is the command that tells program execution to branch to the beginning of the WHILE/WEND loop at the WHILE command. See the <a href='WHILE.htm'>WHILE</a> command for complete details.</td></tr></table><p class='header'>Example: <br><br><table width='100%' border='0' cellspacing='2' cellpadding='2' align='center'><tr><td>; While/Wend Example<br>
|
|
<br>
|
|
; The loop condition is at the TOP of the loop<br>
|
|
While Not KeyHit(1) ; As long as the user hasn't hit ESC yet ...<br>
|
|
Print "Press Esc to end this mess!" ; Print this<br>
|
|
Wend ; Go back to the start of the WHILE loop<br></td></tr></table><p><b><a target="_top" href="../index.htm">Index</a></b></p></body>
|
|
</html>
|