diff options
Diffstat (limited to 'source/text/sbasic/shared/03090102.xhp')
-rw-r--r-- | source/text/sbasic/shared/03090102.xhp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/source/text/sbasic/shared/03090102.xhp b/source/text/sbasic/shared/03090102.xhp index 97f6eeaec4..7d9eb53cc2 100644 --- a/source/text/sbasic/shared/03090102.xhp +++ b/source/text/sbasic/shared/03090102.xhp @@ -30,8 +30,8 @@ <section id="selectcase"> <bookmark xml-lang="en-US" branch="index" id="bm_id3149416"> - <bookmark_value>Select...Case statement</bookmark_value> - <bookmark_value>Case statement</bookmark_value> + <bookmark_value>Select Case statement</bookmark_value> + <bookmark_value>Case keyword; in Select Case statement</bookmark_value> </bookmark> @@ -39,16 +39,17 @@ <paragraph id="par_id3153896" role="paragraph" xml-lang="en-US">Defines one or more statement blocks depending on the value of an expression.</paragraph> </section> -<paragraph id="hd_id3147265" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> +<paragraph role="image" id="par_id841588605629842"><image src="media/helpimg/sbasic/Select-Case_statement.svg" id="img_id931588605629842"><alt id="alt_id931588605629842">Select Case syntax</alt></image></paragraph> <bascode> <paragraph id="par_id3150400" role="bascode" xml-lang="en-US">Select Case condition Case expression Statement Block [Case expression2 Statement Block][Case Else] Statement Block End Select</paragraph> </bascode> -<paragraph id="hd_id3150767" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph> -<paragraph id="par_id3156281" role="paragraph" xml-lang="en-US"> <emph>Condition:</emph> Any expression that controls if the statement block that follows the respective Case clause is executed.</paragraph> -<paragraph id="par_id3150448" role="paragraph" xml-lang="en-US"> <emph>Expression:</emph> Any expression that is compatible with the Condition type expression. The statement block that follows the Case clause is executed if <emph>Condition</emph> matches <emph>Expression</emph>.</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functparameters"/> +<paragraph id="par_id3156281" role="paragraph" xml-lang="en-US"> <emph>condition:</emph> Any expression that controls if the statement block that follows the respective Case clause is executed.</paragraph> + <paragraph id="par_id3150448" role="paragraph" xml-lang="en-US"> <emph>expression:</emph> Any expression that is compatible with the condition type expression. The statement block that follows the <literal>Case</literal> clause is executed if <emph>condition</emph> matches <emph>expression</emph>.</paragraph> -<paragraph id="hd_id3153768" role="heading" level="2" xml-lang="en-US">Example:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functexample"/> <bascode> <paragraph id="par_idm1341173760" role="bascode" localize="false" xml-lang="en-US">Sub ExampleRandomSelect</paragraph> <paragraph id="par_idm1341172528" role="bascode" localize="false" xml-lang="en-US">Dim iVar As Integer</paragraph> |