Files
BlitzNext/_release/help/commands/2d_commands/Until.htm
T

44 lines
1.2 KiB
HTML
Raw Normal View History

2014-12-08 12:43:20 +13:00
<html>
<head>
<title>Blitz3D Docs</title>
<link rel=stylesheet href=../css/commands.css type=text/css>
</head>
<body>
<h1>Until condition</h1>
<h1>Parameters</h1>
<table>
<tr>
<td>
condition = any valid expression (see example)
</td>
</tr>
</table>
<h1>Description</h1>
<table>
<tr>
<td>
This portion of the REPEAT ... UNTIL loop dictates what condition must be met before the loop stops execution. All commands between the two commands will be executed endlessly until the UNTIL condition is met.
2014-02-26 16:08:39 +13:00
<br>
2014-12-08 12:43:20 +13:00
<br>
See also: <a class=small href=Repeat.htm>Repeat</a>, <a class=small href=Forever.htm>Forever</a>, <a class=small href=Exit.htm>Exit</a>, <a class=small href=While.htm>While</a>, <a class=small href=For.htm>For</a>.
</td>
</tr>
</table>
<h1><a href=../2d_examples/Until.bb>Example</a></h1>
<table>
<tr>
<td>
; Repeat until user hits ESC key
<br />
<br />
Repeat
<br />
print "Press ESC to quit this!"
<br />
Until KeyHit(1)
</td>
</tr>
</table>
2014-02-26 16:08:39 +13:00
<br>