Logo

Programming-Idioms

History of Idiom 26 > diff from v8 to v9

Edit summary for version 9 by :

Version 8

2015-08-21, 16:08:46

Version 9

2015-08-22, 20:58:33

Idiom #26 Create a 2-dimensional array

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

Idiom #26 Create a 2-dimensional array

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

Code
var _x: array[_m,_n] of Double;
Comments bubble
m and n need to be constants of type Integer (and declared before the definition of variable x)