repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
(DISTFILES): Comment out a few missing files.
[mono-project.git]
/
mcs
/
mbas
/
Test
/
rerrors
/
Array1.vb
blob
49c5f44a67d2c79bd9ac47b2dd0255c2a93d3ca1
1
'Unhandled Exception: System.ArrayTypeMismatchException: 'ReDim' can
2
' only change the rightmost dimension.
3
4
Imports System
5
6
Module
Array1
7
8
Sub
Main
()
9
Dim
arr
As
Integer
(,) = {{
1
,
2
}, {
3
,
4
}}
10
ReDim Preserve
arr
(
3
,
3
)
11
arr
(
2
,
2
) =
12
12
End Sub
13
End Module
14