Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Arrays
Message
De
10/12/2008 10:45:54
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
10/12/2008 10:28:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Arrays
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01366258
Message ID:
01366451
Vues:
9
>>>From my testing, I have found that I can set up an array as big as 1000 by 1000 elements and maybe bigger. Does anyone know the limits to an array size or is an array only limited by memory?
>>
>>How about my download #15699? Slower than native arrays, but since it is cursor-based, unused array elements don't use any space. In other words, you can have an element #1 and an element #1000000, and that will use up exactly two rows in the cursor. Also, you can have more than two dimensions.
>
>Thanks Hilmar. I've been looking for a multi dimension array ever since I stopped using my TRS80 :))

If I remember correctly, I programmed this "array" for up to 10 dimensions, but it is easy to extend it, up to the limit of VFP parameters.

It gives you tremendous flexibility, but of course it won't work with native VFP array functions.
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