Logo

Programming-Idioms

History of Idiom 26 > diff from v62 to v63

Edit summary for version 63 by Jak Drako:
New VB implementation by user [Jak Drako]

Version 62

2019-09-27, 03:01:31

Version 63

2019-09-30, 11:49:22

Idiom #26 Create a 2-dimensional array

Declare and initialize a matrix x having m rows and n columns, containing real numbers.

Illustration

Idiom #26 Create a 2-dimensional array

Declare and initialize a matrix x having m rows and n columns, containing real numbers.

Illustration
Code
Dim x(m - 1, n - 1) As Double
Comments bubble
For compatibility with old VB6 code, VB.Net will interpret a "Dim x(3, 5)" as an array with rows 0..3 and columns 0..5, or 4x6.