Information générale
Titre:
Dynamically Sizing Arrays
I have a situation where I need to add an unknown
number of rows to an array. I think I have two
options, 1) redimension the array for each new element
that I need to add, or 2) concat everything to a string
counting the elements as I go, then use something like
WORDNUM() or ALINES() or some such, then redimensioning
the array one time.
My question is, efficiency wise, which would be the best
solution?
I'm running VFP 6, and I'm anticipating a maximum of
maybe 50 rows.
What say U?
...kt
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement