diff options
author | Alain Romedenne <alain.romedenne@libreoffice.org> | 2024-12-30 14:35:50 +0100 |
---|---|---|
committer | Alain Romedenne <alain.romedenne@libreoffice.org> | 2024-12-30 15:13:29 +0100 |
commit | f775af098de5db73b11b39c7a5722a1ca4ce4dcd (patch) | |
tree | db0740313eb2644da3591b65a4bec6edf347d441 /source/text/sbasic | |
parent | 9b4c400322e93e0ae4fd165ec0d81b2163bbfa6f (diff) |
SF_exception help corrections
Change-Id: Ie2c36471a7c3f1901454fae2e7cb55e3db5b5770
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/179565
Tested-by: Jenkins
Reviewed-by: Alain Romedenne <alain.romedenne@libreoffice.org>
Diffstat (limited to 'source/text/sbasic')
-rw-r--r-- | source/text/sbasic/shared/03/sf_exception.xhp | 4 |
1 files changed, 2 insertions, 2 deletions
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> |