Learning Ada by onesself in only two months is hard, but I'm getting at it...
Could someone help me with this one:
Is it possible to initialize a multi-dimensionnal array during its definition?
For single-dimensional arrays, the answer is yes:
Init : array (0 .. 3) of Integer := (0 => 1, others => 0)
but what about a 2d array which I would like to fill with zeros?
Thanks for your help.
Alex
_______________________________________ ...
Alexandre Crozat
2 adresses -|> 2 reasons to reply! :-)
[log in to unmask][log in to unmask]