source/text/sbasic/shared/03/sf_exception.xhp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit f775af098de5db73b11b39c7a5722a1ca4ce4dcd Author: Alain Romedenne <alain.romede...@libreoffice.org> AuthorDate: Mon Dec 30 14:35:50 2024 +0100 Commit: Alain Romedenne <alain.romede...@libreoffice.org> CommitDate: Mon Dec 30 15:13:29 2024 +0100 SF_exception help corrections Change-Id: Ie2c36471a7c3f1901454fae2e7cb55e3db5b5770 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/179565 Tested-by: Jenkins Reviewed-by: Alain Romedenne <alain.romede...@libreoffice.org> diff --git a/source/text/sbasic/shared/03/sf_exception.xhp b/source/text/sbasic/shared/03/sf_exception.xhp index 2f6ed4a2d5..ab6df6e0db 100644 --- a/source/text/sbasic/shared/03/sf_exception.xhp +++ b/source/text/sbasic/shared/03/sf_exception.xhp @@ -371,7 +371,7 @@ <embed href="text/sbasic/shared/00000003.xhp#Basic_Only"/> <embed href="text/sbasic/shared/00000003.xhp#functsyntax"/> <bascode> - <paragraph role="bascode" localize="false" id="bas_id29158721982455">SF_Exception.Raise([Number As Variant], [Source As Variant], [Description As String])</paragraph> + <paragraph role="bascode" localize="false" id="bas_id29158721982455">SF_Exception.Raise(Number := Err, [Source := Erl], [Description := Error$])</paragraph> </bascode> <paragraph role="paragraph" id="par_id921587220542454">The code snippets presented next are equivalent. They show alternative ways to raise an exception with code 2100.</paragraph> <bascode> @@ -386,7 +386,7 @@ </bascode> <embed href="text/sbasic/shared/00000003.xhp#functparameters"/> <section id="Raise_Parameters"> - <paragraph role="paragraph" id="par_id851587219824597"><emph>Number</emph>: The error code, as a number or as a string. Default value is that of <literal>Err</literal> Basic builtin function.</paragraph> + <paragraph role="paragraph" id="par_id851587219824597"><emph>Number</emph>: The error code, as a number or as a string. Default value is that of <literal>Err</literal> Basic builtin function, in which case <literal>Number</literal> is optional.</paragraph> <embed href="text/sbasic/shared/ErrVBA.xhp#RestrictedErrorCodes"/> <paragraph role="paragraph" id="par_id461587220986452"><emph>Source</emph>: The location of the error, as a number or as a string. Default value is that of <literal>Erl</literal> Basic builtin function.</paragraph> <paragraph role="paragraph" id="par_id721587221018162"><emph>Description</emph>: The message to display to the user and to report in the console. Default value is that of <literal>Error$</literal> Basic builtin function.</paragraph>