<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:jag@psilosoph.de" title="Wolfgang Jäger <jag@psilosoph.de>"> <span class="fn">Wolfgang Jäger</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Redim Preserve for existing arrays is accepted without any index range, but acts differently as if the unchange index ranges are made explicit."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134712">bug 134712</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>jag@psilosoph.de
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Redim Preserve for existing arrays is accepted without any index range, but acts differently as if the unchange index ranges are made explicit."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134712#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Redim Preserve for existing arrays is accepted without any index range, but acts differently as if the unchange index ranges are made explicit."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=134712">bug 134712</a>
from <span class="vcard"><a class="email" href="mailto:jag@psilosoph.de" title="Wolfgang Jäger <jag@psilosoph.de>"> <span class="fn">Wolfgang Jäger</span></a>
</span></b>
<pre>Spoken aside...
I'm not happy with the WONTFIX.
Redim Preserve b
is disregarded and will not even accept a breakpoit.
Yes. But that's inconsistent.
It might be resolved like the case of the formerly accepted missing or
additional trailing parentehses at the end of a BASIC line where you introduced
your "dual strategy".
LibO Basic actually *should* offer a simple and efficient way to get the ByVal
semantics for arrays of any kind, dimensionality ...
Well, there is the problematic case of the very special array types
.Data .DataArray .FormulaArray
The "Redim Preserve myArray" without index ranges looks like a simple solution
applicable in hindsight. There may be reasons to exclude the "very special
arrays".
I don't think ther will be more than a handful (<=5) BASIC routines in the
world containing such a disregared as-if-ststement, and *relying* on its being
disregarded. There's a REM, after all for thinkable purposes.
(There are additional issues, of course, concerning .DataArray and thelike.)</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>