source/text/sbasic/shared/03080202.xhp | 17 +++++++---------- source/text/sbasic/shared/03120101.xhp | 3 +-- 2 files changed, 8 insertions(+), 12 deletions(-)
New commits: commit 68c52a06cf89d374fd8d46a5d5f78bd3d4a0cb9a Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Wed Apr 6 09:08:00 2022 -0300 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Wed Apr 6 14:17:42 2022 +0200 tdf#131382 Scope of functions LOG and ASC Change the heading to indicate BASIC function and not a Calc function Change-Id: I8dae4b7baf64b42dfa156b6dde8039baa6ac3058 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/132629 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/sbasic/shared/03080202.xhp b/source/text/sbasic/shared/03080202.xhp index c46ffefd5..b1a312563 100644 --- a/source/text/sbasic/shared/03080202.xhp +++ b/source/text/sbasic/shared/03080202.xhp @@ -27,34 +27,32 @@ <body> - <section id="log"> <bookmark xml-lang="en-US" branch="index" id="bm_id3149416"> <bookmark_value>Log function</bookmark_value> </bookmark> - -<paragraph id="hd_id3149416" role="heading" level="1" xml-lang="en-US"><link href="text/sbasic/shared/03080202.xhp" name="Log Function">Log Function</link></paragraph> +<h1 id="hd_id3149416"><link href="text/sbasic/shared/03080202.xhp" name="Log Function">Log Function (BASIC)</link></h1> <paragraph id="par_id3145066" role="paragraph" xml-lang="en-US">Returns the natural logarithm of a number.</paragraph> </section> -<paragraph id="hd_id3159414" role="heading" level="2" xml-lang="en-US">Syntax:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <bascode> <paragraph id="par_id3154760" role="bascode" xml-lang="en-US">Log (Number)</paragraph> </bascode> -<paragraph id="hd_id3149457" role="heading" level="2" xml-lang="en-US">Return value:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functvalue"/> <paragraph id="par_id3150791" localize="false" role="paragraph">Double</paragraph> -<paragraph id="hd_id3151211" role="heading" level="2" xml-lang="en-US">Parameters:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <paragraph id="par_id3151041" role="paragraph" xml-lang="en-US"> <emph>Number:</emph> Any numeric expression that you want to calculate the natural logarithm for.</paragraph> <paragraph id="par_id3150869" role="paragraph" xml-lang="en-US">The natural logarithm is the logarithm to the base e. Base e is a constant with an approximate value of 2.718282...</paragraph> <paragraph id="par_id3153968" role="paragraph" xml-lang="en-US">You can calculate logarithms to any base (n) for any number (x) by dividing the natural logarithm of x by the natural logarithm of n, as follows:</paragraph> -<paragraph id="par_id3145420" role="paragraph" xml-lang="en-US">Log n(x) = Log(x) / Log(n)</paragraph> +<paragraph id="par_id3145420" role="paragraph" xml-lang="en-US">Log<sub>n</sub>(x) = Log(x) / Log(n)</paragraph> <embed href="text/sbasic/shared/00000003.xhp#errorcode"/> <embed href="text/sbasic/shared/00000003.xhp#err5"/> -<paragraph id="hd_id3155131" role="heading" level="2" xml-lang="en-US">Example:</paragraph> +<embed href="text/sbasic/shared/00000003.xhp#functexample"/> <bascode> <paragraph id="par_idm1341571344" role="bascode" localize="false" xml-lang="en-US">Sub ExampleLogExp</paragraph> <paragraph id="par_idm1341570112" role="bascode" localize="false" xml-lang="en-US">Dim a As Double</paragraph> @@ -65,5 +63,4 @@ <paragraph id="par_idm1341563312" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> </bascode> </body> - -</helpdocument> \ No newline at end of file +</helpdocument> diff --git a/source/text/sbasic/shared/03120101.xhp b/source/text/sbasic/shared/03120101.xhp index c70702fe2..deb1b1baf 100644 --- a/source/text/sbasic/shared/03120101.xhp +++ b/source/text/sbasic/shared/03120101.xhp @@ -27,13 +27,12 @@ <body> - <section id="asc"> <bookmark xml-lang="en-US" branch="index" id="bm_id3150499"> <bookmark_value>Asc function</bookmark_value> </bookmark> -<h1 id="hd_id3150499"><variable id="Asc_h1"><link href="text/sbasic/shared/03120101.xhp" name="Asc Function">Asc Function</link></variable></h1> +<h1 id="hd_id3150499"><variable id="Asc_h1"><link href="text/sbasic/shared/03120101.xhp" name="Asc Function">Asc Function (BASIC)</link></variable></h1> <paragraph id="par_id3151384" role="paragraph">Returns the ASCII (American Standard Code for Information Interchange) value of the first character in a string expression.</paragraph> </section>