https://bugs.documentfoundation.org/show_bug.cgi?id=156930

            Bug ID: 156930
           Summary: LibreOffice - Calc - Basic - Stop Statement
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Decrition 
(see:  https://help.libreoffice.org/7.6/en-GB/text/sbasic/shared/03090408.html)
Stop Statement - Stops the execution of the Basic program.

The stop command does not stop at the stop statement, but completely aborts the
processing of the Basic program.

I would have expected the F8 key continue the execution of the BASIC-program an
the next statement, but instead processing starts at the first statement in the
sub main. 



Steps to Reproduce:
1. see sub below example :

REM  *****  BASIC  *****

Sub testing_stop_statement()
        dim a as string
        stop
        a = "... after stop statement"
        msgbox a
end sub

2. execute with F5 or via F8 (single steps)

3. the programm will nver reach the statement 
    a = "... after stop statement"


Actual Results:
After the stop-statement, the excecuten terminate.

Expected Results:
The same behavior as on an breakpoint (Key F9). 


Reproducible: Always


User Profile Reset: No

Additional Info:
It is a bug that also occurs in earlier versions of LibreOffice than 7.6.0.3.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to