4 ms·
Thanks for the clarification. Can you create an array with variable size though? new Foo_Array(x..y) That's what I couldn't figure out how to do last I t
by tedunangst 15y ago
Thanks for the clarification. Can you create an array with variable size though?
new Foo_Array(x..y)
That's what I couldn't figure out how to do last I tried.
- xlq 15y agoYes. What you've written is exactly how to allocate an array of dynamic size on the heap. You can also do: declare My_Array: Foo_Array(X..Y); begin ... end;
- tedunangst 15y agoHmm, I remember it being very hard, but it seems I've lost the specifics. My bad. In any case, Ada is not a language I'm excited to work with, but Go could be one.