[Libreoffice-bugs] [Bug 126913] New: Wrong behavior of Basic "mid" statement
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Aug 14 09:47:06 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=126913
Bug ID: 126913
Summary: Wrong behavior of Basic "mid" statement
Product: LibreOffice
Version: 6.2.5.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: deustrno at bk.ru
Execute the following basic code and
run function "my_function".
function my_function () as string
dim my_string as string
let my_string = "abc def jhi"
mid( my_string, 5 ) = "123"
let my_function = my_string
end function
What value was returned by this function?
Actual behavior:
* "microsoft office 2016 excel":
return value is "abc 123 def";
* "libreoffice 6.2.5.2 calc":
return value is "abc 123".
Expected behavior:
return values must be identical.
--
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/20190814/3788ec9f/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list