summaryrefslogtreecommitdiff
path: root/source/text/sbasic/shared/03090203.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/03090203.xhp')
-rw-r--r--source/text/sbasic/shared/03090203.xhp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/text/sbasic/shared/03090203.xhp b/source/text/sbasic/shared/03090203.xhp
index 065662ff2f..4badb805ad 100644
--- a/source/text/sbasic/shared/03090203.xhp
+++ b/source/text/sbasic/shared/03090203.xhp
@@ -35,7 +35,7 @@
<bookmark_value>While;While...Wend loop</bookmark_value>
<bookmark_value>While;While Wend loop</bookmark_value>
</bookmark>
- <paragraph id="hd_id3150400" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03090203.xhp">While...Wend Statement</link></paragraph>
+ <h1 id="hd_id3150400"><link href="text/sbasic/shared/03090203.xhp">While...Wend Statement</link></h1>
<paragraph xml-lang="en-US" role="paragraph" id="par_id3151211">When a program encounters a <literal>While</literal> statement, it tests the condition. If the condition is <literal>False</literal>, the program continues directly following the <literal>Wend</literal> statement. If the condition is <literal>True</literal>, the loop is executed until the program finds <literal>Wend</literal> and then jumps back to the <emph>While</emph> statement. If the condition is still <literal>True</literal>, the loop is executed again.</paragraph>
</section>
<paragraph xml-lang="en-US" id="par_id3151041" role="paragraph">Unlike the <link href="text/sbasic/shared/03090201.xhp">Do...Loop</link> statement, you cannot cancel a <emph>While...Wend</emph> loop with <link href="text/sbasic/shared/03090412.xhp">Exit</link>. Never exit a <literal>While...Wend</literal> loop with <link href="text/sbasic/shared/03090302.xhp">GoTo</link>, since this can cause a run-time error.</paragraph>