diff options
Diffstat (limited to 'source/text/sbasic/shared/03080202.xhp')
-rw-r--r-- | source/text/sbasic/shared/03080202.xhp | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/source/text/sbasic/shared/03080202.xhp b/source/text/sbasic/shared/03080202.xhp index 1eb316b05e..44b65c6b98 100644 --- a/source/text/sbasic/shared/03080202.xhp +++ b/source/text/sbasic/shared/03080202.xhp @@ -47,7 +47,9 @@ <paragraph role="paragraph" id="par_id3145066" xml-lang="en-US" l10n="U" oldref="2">Returns the natural logarithm of a number.</paragraph> </section> <paragraph role="heading" id="hd_id3159414" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph> -<paragraph role="paragraph" id="par_id3154760" xml-lang="en-US" l10n="U" oldref="4">Log (Number)</paragraph> +<bascode>
+<paragraph role="bascode" id="par_id3154760" xml-lang="en-US" oldref="4">Log (Number)</paragraph>
+</bascode> <paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph> <paragraph role="paragraph" id="par_id3150791" xml-lang="en-US" l10n="U" oldref="6">Double</paragraph> <paragraph role="heading" id="hd_id3151211" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph> @@ -59,12 +61,14 @@ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/> <embed href="text/sbasic/shared/00000003.xhp#err5"/> <paragraph role="heading" id="hd_id3155131" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph> -<paragraph role="paragraph" id="par_id3152463" xml-lang="en-US" l10n="U" oldref="13">Sub ExampleLogExp</paragraph> -<paragraph role="paragraph" id="par_id3145750" xml-lang="en-US" l10n="U" oldref="14">Dim a as Double</paragraph> -<paragraph role="paragraph" id="par_id3151116" xml-lang="en-US" l10n="U" oldref="15">Dim const b1=12.345e12</paragraph> -<paragraph role="paragraph" id="par_id3146985" xml-lang="en-US" l10n="U" oldref="16">Dim const b2=1.345e34</paragraph> -<paragraph role="paragraph" id="par_id3148616" xml-lang="en-US" l10n="U" oldref="17">a=Exp( Log(b1)+Log(b2) )</paragraph> -<paragraph role="paragraph" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="18">MsgBox "" & a & chr(13) & (b1*b2) ,0,"Multiplication by logarithm function"</paragraph> -<paragraph role="paragraph" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="19">end sub</paragraph> +<bascode> +<paragraph role="bascode" localize="false" xml-lang="en-US">Sub ExampleLogExp</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">Dim a As Double</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Const b1=12.345e12</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">Dim Const b2=1.345e34</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US"> a=Exp( Log(b1)+Log(b2) )</paragraph> +<paragraph role="bascode" id="par_id3149262" xml-lang="en-US" l10n="U" oldref="18"> MsgBox "" & a & chr(13) & (b1*b2) ,0,"Multiplication by logarithm function"</paragraph> +<paragraph role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> +</bascode> </body> </helpdocument> |