[Libreoffice-bugs] [Bug 153142] IsMissing needs a note about use in conditions (no boolean short-circuit evaluation in Basic)

2023-07-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153142 --- Comment #10 from Jordi --- Has this change to disable short-circuiting already been implemented? Because this bug report still says NEW, but when I moved my code from 7.0.5.x to 7.4.7.2 (stable release) it failed in a couple of

[Libreoffice-bugs] [Bug 153142] IsMissing needs a note about use in conditions (no boolean short-circuit evaluation in Basic)

2023-03-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153142 --- Comment #9 from Mike Kaganski --- Ah - thanks a lot! Indeed, the operators in Basic combine logical and bit operators - and so, before both sides are evaluated, it's impossible to resolve the result of expression. Hence, the

[Libreoffice-bugs] [Bug 153142] IsMissing needs a note about use in conditions (no boolean short-circuit evaluation in Basic)

2023-03-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153142 --- Comment #8 from Vladimir Sokolinskiy --- Here is how Microsoft writes about it in the VBA documentation :)

[Libreoffice-bugs] [Bug 153142] IsMissing needs a note about use in conditions (no boolean short-circuit evaluation in Basic)

2023-03-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153142 --- Comment #7 from Vladimir Sokolinskiy --- There are many constructs of this type (except IsMissing), for example: If IsArray(arr) And UBound(arr) >= 1 Then -- You are receiving this mail because: You are the assignee for the bug.

[Libreoffice-bugs] [Bug 153142] IsMissing needs a note about use in conditions (no boolean short-circuit evaluation in Basic)

2023-03-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153142 --- Comment #6 from Vladimir Sokolinskiy --- I also believe that the absence of a short circuit must be written in the documentation. May be here: https://help.libreoffice.org/7.6/en-US/text/sbasic/shared/0002.html?DbPAR=BASIC ?

[Libreoffice-bugs] [Bug 153142] IsMissing needs a note about use in conditions (no boolean short-circuit evaluation in Basic)

2023-03-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153142 --- Comment #5 from Andreas Heinisch --- Yep, you are correct. The huge drawback would be that code written with this flag would not work in older versions. -- You are receiving this mail because: You are the assignee for the bug.

[Libreoffice-bugs] [Bug 153142] IsMissing needs a note about use in conditions (no boolean short-circuit evaluation in Basic)

2023-03-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153142 --- Comment #4 from Mike Kaganski --- (In reply to Andreas Heinisch from comment #3) This is exactly what is proposed in https://ask.libreoffice.org/t/if-conditions-continue-to-be-evaluated-even-after-the-if-has-been-satisfied/89385/. I

[Libreoffice-bugs] [Bug 153142] IsMissing needs a note about use in conditions (no boolean short-circuit evaluation in Basic)

2023-03-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153142 --- Comment #3 from Andreas Heinisch --- How about introducing a new flag like OPTION EXPLICIT? So you have legacy code would be unaffected. -- You are receiving this mail because: You are the assignee for the bug.

[Libreoffice-bugs] [Bug 153142] IsMissing needs a note about use in conditions (no boolean short-circuit evaluation in Basic)

2023-03-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153142 --- Comment #2 from Mike Kaganski --- (In reply to Andreas Heinisch from comment #1) I would like to see it in Basic, but this would be an incompatible change, breaking any possible existing code that relies on side effects of

[Libreoffice-bugs] [Bug 153142] IsMissing needs a note about use in conditions (no boolean short-circuit evaluation in Basic)

2023-02-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153142 Olivier Hallot changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Libreoffice-bugs] [Bug 153142] IsMissing needs a note about use in conditions (no boolean short-circuit evaluation in Basic)

2023-01-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=153142 Andreas Heinisch changed: What|Removed |Added CC||andreas.heini...@yahoo.de