source/text/sbasic/shared/03050500.xhp |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 7be715626c3b06bcb69faa60338f6de486918f74
Author:     Pierre F <f...@bger.ch>
AuthorDate: Sat Jul 27 18:13:08 2024 +0200
Commit:     Adolfo Jayme Barrientos <fit...@ubuntu.com>
CommitDate: Tue Jul 30 08:07:22 2024 +0200

    cleanup Local. tdf#154595
    
    Change-Id: Ie0809e49fe6c9d0d43ed4f2a8e59a7947011008c
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/171044
    Tested-by: Jenkins
    Reviewed-by: Adolfo Jayme Barrientos <fit...@ubuntu.com>

diff --git a/source/text/sbasic/shared/03050500.xhp 
b/source/text/sbasic/shared/03050500.xhp
index 038ba94108..eb2241b386 100644
--- a/source/text/sbasic/shared/03050500.xhp
+++ b/source/text/sbasic/shared/03050500.xhp
@@ -47,8 +47,7 @@
 <paragraph id="par_id3150869" role="paragraph" xml-lang="en-US"><emph>GoTo 
Labelname:</emph> If an error occurs, enables the error-handling routine that 
starts at the line "Labelname".</paragraph>
 <paragraph id="par_id3150439" role="paragraph" xml-lang="en-US"><emph>Resume 
Next:</emph> If an error occurs, program execution continues with the statement 
that follows the statement in which the error occurred.</paragraph>
 <paragraph id="par_id3149482" role="paragraph" xml-lang="en-US"><emph>GoTo 
0:</emph> Disables the error handler in the current procedure.</paragraph>
-<paragraph id="par_id3149483" role="paragraph" 
xml-lang="en-US"><emph>Local:</emph> "On error" is global in scope, and remains 
active until canceled by another "On error" statement. "On Local error" is 
local to the routine which invokes it. Local error handling overrides any 
previous global setting. When the invoking routine exits, the local error 
handling is canceled automatically, and any previous global setting is 
restored.</paragraph>
-<paragraph id="par_id3148619" role="paragraph" xml-lang="en-US">The On Error 
GoTo statement is used to react to errors that occur in a macro.<comment>see 
i112231: The statement must be inserted at the start of a procedure (in a local 
error-handling routine) or at the start of a module.</comment></paragraph>
+<paragraph id="par_id3149483" role="paragraph" 
xml-lang="en-US"><emph>Local:</emph> Optional. The keyword is a reminder the 
statement is local to the routine which invokes it; when the routine exits, 
this error handling is canceled automatically.</paragraph>
 
 <embed href="text/sbasic/shared/00000003.xhp#functexample"/>
 <bascode>

Reply via email to