source/text/sbasic/shared/03100100.xhp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit b54a0e6d50e8eaaa37ca844b1c92d3778d4567cf Author: Stanislav Horacek <stanislav.hora...@gmail.com> AuthorDate: Thu Feb 17 18:04:22 2022 +0100 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Sat Feb 19 18:56:43 2022 +0100 correct and reformulate description of CBool example Change-Id: I4a17e3bebc834c095ce909bbb06f0d7c8655cb04 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/130107 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/source/text/sbasic/shared/03100100.xhp b/source/text/sbasic/shared/03100100.xhp index 7dd18de93..66dd198cf 100644 --- a/source/text/sbasic/shared/03100100.xhp +++ b/source/text/sbasic/shared/03100100.xhp @@ -41,7 +41,7 @@ <paragraph id="par_id3194514" role="bascode" localize="false">CBool (expression As Variant) As Boolean</paragraph> </bascode> <paragraph role="paragraph" id="par_id681638266349216"><literal>expression</literal> can be a number or a set of combined expressions.</paragraph> - + <embed href="text/sbasic/shared/00000003.xhp#functvalue"/> <paragraph id="par_id3155419" role="paragraph" xml-lang="en-US">Boolean</paragraph> @@ -54,7 +54,7 @@ <embed href="text/sbasic/shared/00000003.xhp#err5"/> <embed href="text/sbasic/shared/00000003.xhp#functexample"/> -<paragraph id="par_id3145171" role="paragraph" xml-lang="en-US">The following examples computes a logical expression and a mathematical formula. It uses the <literal>CBool</literal> function to evaluate the value that is returned by the <literal>Instr</literal> function. The function checks if the word "and" is found in the sentence that was entered by the user.</paragraph> +<paragraph id="par_id3145171" role="paragraph" xml-lang="en-US">In the following examples, the <literal>CBool</literal> function evaluates a logical expression, a mathematical formula and the value that is returned by the <literal>Instr</literal> function. The function checks if the character "a" is found in the sentence that was entered by the user.</paragraph> <bascode> <paragraph id="par_idm1340987280" role="bascode" localize="false">Sub ExampleCBool</paragraph> <paragraph role="bascode" id="bas_id961636989038747" xml-lang="en-US"> Print CBool( 1>2 Xor 44 ) ' computes to True</paragraph>