Issue 13273 - Macro Scripting variant Array() can assign a string in an Integer array
Summary: Macro Scripting variant Array() can assign a string in an Integer array
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: scripting (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows XP
: P4 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 17783 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-04-10 16:34 UTC by andrew
Modified: 2013-07-30 02:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description andrew 2003-04-10 16:34:18 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
Comment 1 ooo 2003-04-14 14:00:56 UTC
an StarBASIC runtime issue
Comment 2 ab 2003-04-16 14:10:45 UTC
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.
Comment 3 ab 2004-04-29 15:16:51 UTC
*** Issue 17783 has been marked as a duplicate of this issue. ***
Comment 4 Martin Hollmichel 2004-05-28 17:32:48 UTC
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.
Comment 5 Martin Hollmichel 2008-02-04 14:41:26 UTC
reassign
Comment 6 Rob Weir 2013-07-30 02:17:07 UTC
Reset assignee on issues not touched by assignee in more than 2000 days.