Reputation: 1343
I have M : array (1..3, 1.. 3) of Integer := ((0, 0, 0), (0, 0, 0), (0, 0, 0));
I am looking to convert the size of this to be user-determined, i.e., the new array would look something like M : array (1 .. user_size, 1 .. user_size) of ...
The problem I'm having is the case of zero-ing out the array. I'm not extremely familiar with Ada, but learning.
Is there a way to do this?
Upvotes: 1
Views: 418