Apache OpenOffice (AOO) Bugzilla – Issue 13273
Macro Scripting variant Array() can assign a string in an Integer array
Last modified: 2013-07-30 02:17:07 UTC
This should generate an error or something. i(1) contains a string Sub ArrayExample Dim i() As Integer i = Array(0, "one", 2) Print "" + i(0) + " " + i(1) + " " + i(2) End Sub
an StarBASIC runtime issue
Right, this is a bug, but I think it's a very tiny one. It only occurs for empty arrays (for e.g. "Dim i(2) As Integer" in the example the compiler raises an error) and is very simple to workaround by just not doing it ;-) So I changed the prio to P4.
*** Issue 17783 has been marked as a duplicate of this issue. ***
according to the announcement on releases (http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=7503) this issue will be re-targeted to OOo Later.
reassign
Reset assignee on issues not touched by assignee in more than 2000 days.