>Mark,
> There are a couple of ways to clear out an existing array. The first is to initialize all of the cells to a value. The following example sets all elements of the specified array to the value "ROD"
>
>Declare laArray[10,2]
>laArray = "ROD"
>
>All elements of this array are set as "ROD".
>
>You can also dynamically resize the array with the Declare statment. Just us the declare command with your new dimensions and FoxPro does the work.
>
>Hope these give you a couple of ideas.
>
>Rod
Rod,
Thanks for the reply. So are you saying that can fill ALL cells of the array with ' laArray = "ROD" ' ? What about when I re-dimension the array? Do all values automatically get cleared to .f. or something?
Thanks,
Mark
Précédent
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