Browse Subversion Repository
Diff of /trunk/doc/en/html/macro/command/while.html
Parent Directory
| Revision Log
| Patch
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
2 |
"http://www.w3.org/TR/html4/strict.dtd"> |
"http://www.w3.org/TR/html4/strict.dtd"> |
3 |
<html> |
<html> |
4 |
<head> |
<head> |
5 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
6 |
<title>while, endwhile</title> |
<title>while, endwhile</title> |
7 |
<meta http-equiv="Content-Style-Type" content="text/css"> |
<meta http-equiv="Content-Style-Type" content="text/css"> |
8 |
<link rel="stylesheet" href="../../style.css" type="text/css"> |
<link rel="stylesheet" href="../../style.css" type="text/css"> |
9 |
</head> |
</head> |
10 |
|
|
11 |
<body> |
<body> |
12 |
|
|
13 |
|
|
14 |
<h1>while, endwhile</h1> |
<h1>while, endwhile</h1> |
15 |
|
|
16 |
<p> |
<p> |
17 |
Repeats. |
Repeats. |
18 |
</p> |
</p> |
19 |
|
|
20 |
<pre class="macro-syntax"> |
<pre class="macro-syntax"> |
21 |
while <int><br> |
while <int><br> |
22 |
...<br> |
...<br> |
23 |
...<br> |
...<br> |
24 |
endwhile |
endwhile |
25 |
</pre> |
</pre> |
26 |
|
|
27 |
<h2>Remarks</h2> |
<h2>Remarks</h2> |
28 |
|
|
29 |
<p> |
<p> |
30 |
Repeats the statements between 'while' and 'endwhile' while <int> is non-zero. |
Repeats the statements between 'while' and 'endwhile' while <int> is non-zero. |
31 |
</p> |
</p> |
32 |
|
|
33 |
<h2>Example</h2> |
<h2>Example</h2> |
34 |
|
|
35 |
<pre class="macro-example"> |
<pre class="macro-example"> |
36 |
; Repeat ten times. |
; Repeat ten times. |
37 |
i = 10 |
i = 10 |
38 |
while i>0 |
while i>0 |
39 |
i = i - 1 |
i = i - 1 |
40 |
endwhile |
endwhile |
41 |
</pre> |
</pre> |
42 |
|
|
43 |
</body> |
</body> |
44 |
</html> |
</html> |
|
Legend:
Removed from v.3226 |
|
changed lines |
|
Added in v.3227 |
|
|
|