<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - The program does not continue with 'Dim' or 'ReDim' following 'If' in one line statement."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=133811#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - The program does not continue with 'Dim' or 'ReDim' following 'If' in one line statement."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=133811">bug 133811</a>
from <span class="vcard"><a class="email" href="mailto:jk.kornelsen@gmail.com" title="Jim Kornelsen <jk.kornelsen@gmail.com>"> <span class="fn">Jim Kornelsen</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>