diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2017-01-22 10:26:20 +0100 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@edx.srv.br> | 2017-01-25 18:31:16 +0000 |
commit | 7b98ed0680a6573ec9b5710ffceeac8df60e684e (patch) | |
tree | 9ca9187583ff4bac1688acb723f059b2ef8b6b06 /source/text/sbasic/shared/03090203.xhp | |
parent | Add new Help menu entries into Help main page (diff) | |
download | help-7b98ed0680a6573ec9b5710ffceeac8df60e684e.tar.gz help-7b98ed0680a6573ec9b5710ffceeac8df60e684e.zip |
Basic: remove ^M
Remove ^M characters at end of line
remove tabulation characters
Change-Id: I96345f88c732ad5c40a6143437cccf064aca0738
Reviewed-on: https://gerrit.libreoffice.org/33387
Reviewed-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Tested-by: Olivier Hallot <olivier.hallot@edx.srv.br>
Diffstat (limited to 'source/text/sbasic/shared/03090203.xhp')
-rw-r--r-- | source/text/sbasic/shared/03090203.xhp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/text/sbasic/shared/03090203.xhp b/source/text/sbasic/shared/03090203.xhp index f622613cd2..524eaea72a 100644 --- a/source/text/sbasic/shared/03090203.xhp +++ b/source/text/sbasic/shared/03090203.xhp @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> - <!-- * This file is part of the LibreOffice project. * @@ -30,8 +29,7 @@ </history> </meta> <body> - - + <section id="whilewend"> <bookmark xml-lang="en-US" branch="index" id="bm_id3150400"><bookmark_value>While;While...Wend loop</bookmark_value></bookmark><paragraph id="hd_id3150400" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090203.xhp" name="While...Wend Statement[Runtime]">While...Wend Statement[Runtime]</link></paragraph> <paragraph xml-lang="en-US" role="paragraph" id="par_id3151211" l10n="U" oldref="2">When a program encounters a While statement, it tests the condition. If the condition is False, the program continues directly following the Wend statement. If the condition is True, the loop is executed until the program finds Wend and then jumps back to the<emph> While </emph>statement. If the condition is still True, the loop is executed again.</paragraph> @@ -39,8 +37,8 @@ <paragraph xml-lang="en-US" oldref="3" id="par_id3151041" l10n="U" role="paragraph">Unlike the <link href="text/sbasic/shared/03090201.xhp" name="Do...Loop">Do...Loop</link> statement, you cannot cancel a <emph>While...Wend</emph> loop with <link href="text/sbasic/shared/03090412.xhp" name="Exit">Exit</link>. Never exit a While...Wend loop with <link href="text/sbasic/shared/03090302.xhp" name="GoTo">GoTo</link>, since this can cause a run-time error.</paragraph> <paragraph role="paragraph" id="par_id3145172" l10n="U" xml-lang="en-US" oldref="4">A Do...Loop is more flexible than a While...Wend.</paragraph> <paragraph role="heading" level="2" id="hd_id3155133" l10n="U" xml-lang="en-US" oldref="5">Syntax:</paragraph> - <bascode>
-<paragraph role="bascode" id="par_id3147288" xml-lang="en-US" oldref="6">While Condition [Statement] Wend</paragraph>
+ <bascode> +<paragraph role="bascode" id="par_id3147288" xml-lang="en-US" oldref="6">While Condition [Statement] Wend</paragraph> </bascode> <paragraph role="heading" level="2" id="hd_id3153139" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph> <bascode> @@ -58,3 +56,4 @@ </bascode> </body> </helpdocument> + |