|
|
"Bald Eagle" <cre### [at] netscapenet> wrote:
> I'd like to create a 2D array.
> I know it can't be dynamic, so I need to declare it like
> #declare array = array [m][n];
>
> Do I _have_ to now define the _whole_ 2D array, or is there a syntax to define a
> single "row" at a time?
>
> #declare Array [3] = {n elements}; isn't allowed, but is there some functional
> equivalent? I'm drawing a blank.
>
> I'll probably have to loop from Array [3][0] to Array [3][n], won't I?
You could write a macro to this. But it would be easier just to loop through.
Post a reply to this message
|
|