diff options
author | Stanislav Horacek <stanislav.horacek@gmail.com> | 2022-02-17 18:04:22 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-02-19 18:56:43 +0100 |
commit | b54a0e6d50e8eaaa37ca844b1c92d3778d4567cf (patch) | |
tree | 1d75c196fac8f00a87ca201ab399c2a296723811 /source | |
parent | 71a2d9e0c995afbc1d71b7030b536c4590107afc (diff) |
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.kaganski@collabora.com>
Diffstat (limited to 'source')
-rw-r--r-- | source/text/sbasic/shared/03100100.xhp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/text/sbasic/shared/03100100.xhp b/source/text/sbasic/shared/03100100.xhp index 7dd18de938..66dd198cfc 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> |