Re: LO 80731 - Incorrect syntax does compile, MID without end bracket

2017-08-04 Thread Pierre Lepage
Gerrit patch https://gerrit.libreoffice.org/#/c/40782/ If the proposed solution makes sense, it will only be necessary to program the warning message in the "else" clause. Here, I am considering a dialog box with the warning message. Note that the changes to basic / source / runtime / stdobj

Re: LO 80731 - Incorrect syntax does compile, MID without end bracket

2017-08-04 Thread Kaganski Mike
Hi Pierre, On 8/4/2017 4:26 AM, Pierre Lepage wrote: > I have implemented a new warning option on compilation. I did not go too > far. Great! > A simple checkbox "Warning On" and an "else" in the faulty > structure causing the problem of the closing parenthesis does the trick. > I have includ

LO 80731 - Incorrect syntax does compile, MID without end bracket

2017-08-03 Thread Pierre Lepage
Hi, I have implemented a new warning option on compilation. I did not go too far. A simple checkbox "Warning On" and an "else" in the faulty structure causing the problem of the closing parenthesis does the trick. I have included a screen copy of the dialog with the "Warning On" option. The

Re: LO 80731 - Incorrect syntax does compile, MID without end bracket

2017-07-18 Thread Pierre Lepage
Hi, Indeed, I also do not see the reason for having to check "Enable experimental functions (may be unstable)". Can we remove this step and thus make the StarBasic IDE available by default without more fuss? Also, a kind of "strict" compilation mode on demand seems to me difficult to defend. H

Re: LO 80731 - Incorrect syntax does compile, MID without end bracket

2017-07-06 Thread Katarina Behrens
Hello world, I kinda like Mike's proposal to use strict checking when test-compiling the code in IDE > I do support Pierre's proposal to have an option to (temporarily) > *uncheck* the strict syntax checking, > However > - the option should be easily visible and accessible from the Basic IDE >

Fwd: Re: LO 80731 - Incorrect syntax does compile, MID without end bracket

2017-07-04 Thread Pierre Lepage
The lambda user who makes use of macros written by a third party will have a real problem. When a library crashes because of a missing closing parenthesis while it still works, and that in addition, the library will be locked and nobody will remember the password ... I think the only way out

Re: LO 80731 - Incorrect syntax does compile, MID without end bracket

2017-06-30 Thread Jean-Pierre Ledure
The default bahaviour of any Basic interpreter should be IMHO to check the syntax as strictly as possible. On the other side tons of legacy Basic sources will not compile anymore, - including the Basic libraries (Access2Base, ...) delivered with LO unless they're patched on time ! I do supp

Re: LO 80731 - Incorrect syntax does compile, MID without end bracket

2017-06-28 Thread Kaganski Mike
On 6/28/2017 2:03 PM, Stephan Bergmann wrote: > On 06/28/2017 12:12 PM, Pierre Lepage wrote: >> The solution brings a lot of hassle for customers of the LibreOffice >> suite whose work relies on the performance of StarBasic macros written >> by third parties. Macros containing code in error by th

Re: LO 80731 - Incorrect syntax does compile, MID without end bracket

2017-06-28 Thread Stephan Bergmann
On 06/28/2017 12:12 PM, Pierre Lepage wrote: The solution brings a lot of hassle for customers of the LibreOffice suite whose work relies on the performance of StarBasic macros written by third parties. Macros containing code in error by the absence of a closing parenthesis suddenly cease to fu

LO 80731 - Incorrect syntax does compile, MID without end bracket

2017-06-28 Thread Pierre Lepage
Search for a viable solution to the bug 80731 - Incorrect syntax does compile, MID without end bracket The solution brings a lot of hassle for customers of the LibreOffice suite w