Initializing Multi dimentionnal array

BlitzMax Forums/BlitzMax Programming/Initializing Multi dimentionnal array

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi, I have a type Matrix 3x3:

Type Matrix3

Field Matrix : Float [3, 3]

End Type

And I want to initialize a constant array Identity :

[1, 0, 0
0, 1, 0
0, 0, 1]

How can I do that?
Thanks