Wend.htm 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <html>
  2. <head>
  3. <title>Blitz3D Docs</title>
  4. <link rel=stylesheet href=../css/commands.css type=text/css>
  5. </head>
  6. <body>
  7. <h1>Wend</h1>
  8. <h1>Parameters</h1>
  9. <table>
  10. <tr>
  11. <td>
  12. None.
  13. </td>
  14. </tr>
  15. </table>
  16. <h1>Description</h1>
  17. <table>
  18. <tr>
  19. <td>
  20. This is the command that tells program execution to branch to the beginning of the WHILE/WEND loop at the WHILE command. See the WHILE command for complete details.
  21. <br>
  22. <br>
  23. See also: <a class=small href=While.htm>While</a>, <a class=small href=Exit.htm>Exit</a>, <a class=small href=Repeat.htm>Repeat</a>, <a class=small href=For.htm>For</a>.
  24. </td>
  25. </tr>
  26. </table>
  27. <h1><a href=../2d_examples/Wend.bb>Example</a></h1>
  28. <table>
  29. <tr>
  30. <td>
  31. ; While/Wend Example <br />
  32. <br />
  33. ; The loop condition is at the TOP of the loop <br />
  34. While Not KeyHit(1) ; As long as the user hasn't hit ESC yet ... <br />
  35. Print "Press Esc to end this mess!" ; Print this <br />
  36. Wend ; Go back to the start of the WHILE loop
  37. </td>
  38. </tr>
  39. </table>
  40. <br>
  41. <a target=_top href=../index.htm>Index</a><br>
  42. <br>
  43. Click <a href=http://www.blitzbasic.co.nz/b3ddocs/command.php?name=Wend&ref=comments target=_blank>here</a> to view the latest version of this page online</body>
  44. </html>