Information générale
Catégorie:
Codage, syntaxe et commandes
Does anyone know how to evaluate the upper bound of an array? For instance, if I have an array called la_ArrayValue, how do I evaluate the following statement:
Do while x < (whatever the upper bound of the array is)
So if the array had 9 entries, it would be the same as evaluating :
Do while x < 10
Any help would be appreciated. I am trying to avoid a subscript out of bound error. Thanks.
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