[Libreoffice-bugs] [Bug 133811] The program does not continue with 'Dim' or 'ReDim' following 'If' in one line statement.
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 9 20:10:32 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=133811
--- Comment #2 from Jim Kornelsen <jk.kornelsen at gmail.com> ---
The following line (if there is one) also gets skipped, but only when the
condition is false.
Sub SayHi
If False Then ReDim a
MsgBox "hello"
MsgBox "there"
End Sub
Result: Displays only "there"
Treating this as a syntax error would solve the problem.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200609/dec703c7/attachment.htm>
More information about the Libreoffice-bugs
mailing list