source/text/sbasic/shared/03102600.xhp | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-)
New commits: commit 9f789ddb74b0928a3bfa58284b69320518d59007 Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Thu May 29 10:48:39 2025 -0300 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Fri May 30 14:39:26 2025 +0200 tdf#146113 Precisions on IsNull Basic function. + refactor Change-Id: Ic45d26f63d65f13d659a39dca27b5d48dc064b6e Reviewed-on: https://gerrit.libreoffice.org/c/help/+/186012 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> diff --git a/source/text/sbasic/shared/03102600.xhp b/source/text/sbasic/shared/03102600.xhp index f03398d3d8..dfb46f26f7 100644 --- a/source/text/sbasic/shared/03102600.xhp +++ b/source/text/sbasic/shared/03102600.xhp @@ -20,46 +20,44 @@ <meta> <topic id="textsbasicshared03102600xml" indexer="include"> - <title id="tit" xml-lang="en-US">IsNull Function</title> + <title id="tit">IsNull Function</title> <filename>/text/sbasic/shared/03102600.xhp</filename> </topic> </meta> <body> - - <section id="isnull"> -<bookmark xml-lang="en-US" branch="index" id="bm_id3155555"> +<bookmark branch="index" id="bm_id3155555"> <bookmark_value>IsNull function</bookmark_value> <bookmark_value>Null value</bookmark_value> </bookmark> - <h1 id="hd_id3155555"><link href="text/sbasic/shared/03102600.xhp">IsNull Function</link></h1> -<paragraph id="par_id3146957" role="paragraph" xml-lang="en-US">Tests if a Variant contains the special Null value, indicating that the variable does not contain data.</paragraph> +<paragraph id="par_id3146957" role="paragraph">Tests if a Variant contains the special Null value, indicating that the variable does not contain data.</paragraph> </section> +<paragraph role="paragraph" id="par_id161748526205179">Returns True when an object variable is passed that does not refer to a valid object, such as a newly created object that has not yet been assigned or an object assigned to the Nothing literal.</paragraph> <h2 id="hd_id3150670">Syntax:</h2> <bascode> -<paragraph id="par_id3150984" role="bascode" xml-lang="en-US">IsNull (Var)</paragraph> +<paragraph id="par_id3150984" role="bascode">IsNull (Var)</paragraph> </bascode> <h2 id="hd_id3149514">Return value:</h2> <paragraph id="par_id3145609" localize="false" role="paragraph">Boolean</paragraph> <h2 id="hd_id3149669">Parameters:</h2> -<paragraph id="par_id3159414" role="paragraph" xml-lang="en-US"> <emph>Var:</emph> Any variable that you want to test. This function returns True if the Variant contains the Null value, or False if the Variant does not contain the Null value.</paragraph> -<paragraph id="par_idN1062A" role="paragraph" xml-lang="en-US"> <emph>Null</emph> - This value is used for a variant data sub type without valid contents.</paragraph> +<paragraph id="par_id3159414" role="paragraph"> <emph>Var:</emph> Any variable that you want to test. This function returns True if the Variant contains the Null value, or False if the Variant does not contain the Null value.</paragraph> +<paragraph id="par_idN1062A" role="paragraph"> <emph>Null</emph> - This value is used for a variant data sub type without valid contents.</paragraph> <embed href="text/sbasic/shared/00000003.xhp#errorcode"/> <embed href="text/sbasic/shared/00000003.xhp#err5"/> <h2 id="hd_id3153381">Example:</h2> <bascode> -<paragraph id="par_idm1340980640" role="bascode" localize="false" xml-lang="en-US">Sub ExampleIsNull</paragraph> -<paragraph id="par_idm1340979408" role="bascode" localize="false" xml-lang="en-US">Dim vVar As Variant</paragraph> -<paragraph id="par_idm1340978176" role="bascode" localize="false" xml-lang="en-US"> MsgBox IsNull(vVar)</paragraph> -<paragraph id="par_idm1340976944" role="bascode" localize="false" xml-lang="en-US">End Sub</paragraph> +<paragraph id="par_idm1340980640" role="bascode" localize="false">Sub ExampleIsNull</paragraph> +<paragraph id="par_idm1340979408" role="bascode" localize="false">Dim vVar As Variant</paragraph> +<paragraph id="par_idm1340978176" role="bascode" localize="false"> MsgBox IsNull(vVar)</paragraph> +<paragraph id="par_idm1340976944" role="bascode" localize="false">End Sub</paragraph> </bascode> </body> -</helpdocument> \ No newline at end of file +</helpdocument>