<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Gerrit patch <a moz-do-not-send="true"
href="https://gerrit.libreoffice.org/#/c/40782/">https://gerrit.libreoffice.org/#/c/40782/</a><br>
</p>
<span id="result_box" class="" tabindex="-1" lang="en"><span></span></span><span
id="result_box" class="" tabindex="-1" lang="en"><span><span
id="result_box" class="" tabindex="-1" lang="en"><span>If the
proposed solution makes sense, it will only be necessary to
program the warning message in the "else" clause.</span> <span>Here,
I am considering a dialog box with the warning message.<br>
<br>
</span></span></span></span><br>
<span id="result_box" class="" tabindex="-1" lang="en"><span><span
id="result_box" class="" tabindex="-1" lang="en"><span><span
id="result_box" class="" tabindex="-1" lang="en"><span>Note
that the changes to basic / source / runtime /
stdobj.cxx are strictly for the readability of the
aMethods table [].</span> <span>These changes have
nothing to do with the bug tdf # 80731. <br>
<br>
</span></span></span></span>Pierre<br>
<br>
<br>
</span></span>
<div class="moz-cite-prefix">Le 2017-08-04 à 01:07, Kaganski Mike a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:AM4PR1001MB14268F9540D6054DFF18EF67D6B60@AM4PR1001MB1426.EURPRD10.PROD.OUTLOOK.COM">
<pre wrap="">Hi Pierre,
On 8/4/2017 4:26 AM, Pierre Lepage wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I have implemented a new warning option on compilation. I did not go too
far.
</pre>
</blockquote>
<pre wrap="">
Great!
</pre>
<blockquote type="cite">
<pre wrap="">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 behavior of StarBasic with the "Warning On" option would be as follows.
A) Warning On and active IDE window: Warning displayed on line where
normally there would be an error.
B) Warning On and IDE window inactive: Warning at the beginning of the
macro execution in the application window.
C) Warning Off: No tolerated error and no warning stop.
For the case of the closing parenthesis, the warning message could be
the following: A closing parenthesis is missing in one or more
expressions with the Mid function.
</pre>
</blockquote>
<pre wrap="">
Could you post your change to gerrit please? It's better to discuss code
there.
</pre>
</blockquote>
<br>
</body>
</html>