Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multidimensional Array
Message
De
05/02/2002 14:35:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/02/2002 14:26:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00615684
Message ID:
00615694
Vues:
16
>>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform