diff options
Diffstat (limited to 'source/text/sbasic/shared/03090302.xhp')
-rw-r--r-- | source/text/sbasic/shared/03090302.xhp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/text/sbasic/shared/03090302.xhp b/source/text/sbasic/shared/03090302.xhp index 66522639c2..b8e7c27d9b 100644 --- a/source/text/sbasic/shared/03090302.xhp +++ b/source/text/sbasic/shared/03090302.xhp @@ -39,16 +39,16 @@ <paragraph role="heading" id="hd_id3159413" xml-lang="en-US" level="1"><variable id="GoToh1"><link href="text/sbasic/shared/03090302.xhp">GoTo Statement</link></variable></paragraph> <paragraph role="paragraph" id="par_id3153379" xml-lang="en-US">Continues program execution within a <literal>Sub</literal> or <literal>Function</literal> at the procedure line indicated by a label.</paragraph> </section> -<paragraph role="heading" id="hd_id3149656" xml-lang="en-US" level="2">Syntax:</paragraph> +<h2 id="hd_id3149656">Syntax:</h2> <bascode> <paragraph role="bascode" id="bas_id211588675705501" localize="false">GoTo label[:]</paragraph> </bascode> -<paragraph role="heading" id="hd_id3150870" xml-lang="en-US" level="2">Parameters:</paragraph> +<h2 id="hd_id3150870">Parameters:</h2> <paragraph role="paragraph" id="par_id471588670859073"><emph>label: </emph>A line identifier indicating where to continue execution. The scope of a label is that of the routine it belongs to.</paragraph> <paragraph role="paragraph" id="par_id3152596" xml-lang="en-US">Use the <literal>GoTo</literal> statement to instruct $[officename] Basic to continue program execution at another place within the procedure. The position must be indicated by a label. To set a label, assign a name, and end it with a colon (":").</paragraph> <paragraph role="warning" id="par_id3155416" xml-lang="en-US">You cannot use the <literal>GoTo</literal> statement to jump out of a <literal>Sub</literal> or <literal>Function</literal>.</paragraph> -<paragraph role="heading" id="hd_id3154731" xml-lang="en-US" level="2">Example:</paragraph> +<h2 id="hd_id3154731">Example:</h2> <bascode> <paragraph role="bascode" id="par_id3156214" localize="false">Sub/Function</paragraph> <paragraph role="bascode" id="par_id3156424" xml-lang="en-US"> ' statement block</paragraph> |