[Libreoffice-bugs] [Bug 134692] Formerly working BASIC function to get a copy of an array no longer working. Interoperability and compatibilty affected.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 9 21:50:34 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134692

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from Mike Kaganski <mikekaganski at hotmail.com> ---
I feel quite sure that it's my fix to tdf#129256 that caused the problem with
redim preserve (but I hadn't bisected actually).

sub tst
dim a(2 to 5)
b = a
redim preserve b(4 to 6)
for i = lbound(b) to ubound(b)
  b(i) = i
next i
for i = lbound(a) to ubound(a)
  s$ = s$ & " a(" & i & ")=" & a(i)
next i
s$ = s$ & chr(10)
for i = lbound(b) to ubound(b)
  s$ = s$ & " b(" & i & ")=" & b(i)
next i
msgbox s$
end sub

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200709/bdbfa955/attachment.htm>


More information about the Libreoffice-bugs mailing list