Computer Science Canada

init with multi dimensional arrays

Author:  mirhagk [ Mon Nov 23, 2009 9:22 pm ]
Post subject:  init with multi dimensional arrays

i know i can do
code:

var points:array 1..5 of int:=init (1,1,1,1,1)


but how do i do it with multi-dimensional arrays?
code:

var grid:array 1..5,1..5 of int:=init %what do I do??

Author:  Tony [ Mon Nov 23, 2009 9:35 pm ]
Post subject:  RE:init with multi dimensional arrays

init

Author:  mirhagk [ Mon Nov 23, 2009 9:39 pm ]
Post subject:  RE:init with multi dimensional arrays

okay sorry man, lol i thought itd be more complicated than that. thanks man


: