summaryrefslogtreecommitdiffstats
path: root/source/text/sbasic/shared/03104100.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'source/text/sbasic/shared/03104100.xhp')
-rw-r--r--source/text/sbasic/shared/03104100.xhp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/text/sbasic/shared/03104100.xhp b/source/text/sbasic/shared/03104100.xhp
index 14cfd9885a..beeb0ff171 100644
--- a/source/text/sbasic/shared/03104100.xhp
+++ b/source/text/sbasic/shared/03104100.xhp
@@ -48,7 +48,9 @@
</section>
<paragraph role="paragraph" id="par_id3155419" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03104000.xhp" name="IsMissing">IsMissing</link></paragraph>
<paragraph role="heading" id="hd_id3153824" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
-<paragraph role="paragraph" id="par_id3159157" xml-lang="en-US" l10n="U" oldref="5">Function MyFunction(Text1 As String, Optional Arg2, Optional Arg3)</paragraph>
+<bascode>
+<paragraph role="bascode" id="par_id3159157" xml-lang="en-US" oldref="5">Function MyFunction(Text1 As String, Optional Arg2, Optional Arg3)</paragraph>
+</bascode>
<paragraph role="heading" id="hd_id3145610" xml-lang="en-US" level="2" l10n="U" oldref="7">Examples:</paragraph>
<paragraph role="paragraph" id="par_id3154347" xml-lang="en-US" l10n="U" oldref="8">Result = MyFunction("Here", 1, "There") ' all arguments are passed.</paragraph>
<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="9">Result = MyFunction("Test", ,1) ' second argument is missing.</paragraph>