[futurebasic] Re: [FB] Dynamic Array with multiple subscripts

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 2002 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Fri, 29 Mar 2002 14:19:23 -0500
>>> Thank you. You are quite right. This is the first time I have used Dynamic
>>> arrays and I didn't even think to calculate the allocation because I
>>>thought
>>> it was a theoretical number. Now I understand.
>>> Many thanks again
>>> Barrie
>>>
>> Barrie,
>>
>> You are correct!--it IS a theoretical number. The compiler doesn't care
>> to what size you dimension a dynamic array. Most of them are DIMmed to
>> _Maxlong, which is also more ram than any of us have on our machines.
>>
>> The problem is with the 2-D array. Dynamic arrays are limited to one
>> dimension. To get around this, I have always used a dynamic array of
>> dynamic handles and the following fn. I can send a short demo
>> illustrating its use if you like.
>>
>
>I don't agree with this, jay. dynamic arrays can have 2 (or 3 or 4 or 5)
>subscripts.

Stazzer,

Are you saying that you can DIM a Dynamic array like..


DIM X(_maxInt,_maxInt)

and that both columns will be dynamic?

What I have been told on this list by some sorts is that only the first
column will actually be dynamic.

What is the real deal?

Do we have a Dynamic Duo, or just a cool Batman Single plus a hitchiker?

rc