G'Day.
If I use:
aTemp=Array(Array(0,1),Array(2,3))
I can reference the elements as:
aTemp(0)(0) etc.

How can I create an assignment statement so that I can address the array elements as:
aTemp(0,0) etc.

Yes, I know that I can use multiple assignment statements, but I'm hoping that there is a way to do it in one.

--Vorpal

Okay, the closest you are going to get as far as I know is...

Dim aTemp(0 to 1, 0 to 1) As Integer

But then you would have to do...

aTemp(0,0) = 1
aTemp(1,0) = 2
aTemp(0,1) = 3
aTemp(1,1) = 4

Good Luck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.