diff options
-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> |