Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multidimensional Array
Message
From
05/02/2002 14:35:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
05/02/2002 14:26:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00615684
Message ID:
00615694
Views:
15
>>Memory storage: 99 Rows and 7 Columns in 8 Pages
>>
>>Dimension mArrayGS(8,99,7)
>>
>>Not allowed in FoxPro -
>>
>>That's what I need ...
>>Any suggestions?
>
>Use a single-dimensional array, and use a formula to calculate the position in the array.
>
>Hilmar.

It is unfortunate that VFP allows only two dimensions. Two other unfortunate details about arrays: 1) you can't have an array with zero elements, 2) you can't have more than 65,000 elements in an array.

If you need more than 65,000 elements, you might use a cursor instead, for storing temporary data.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform