Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lost Array Elements on a redimension
Message
De
03/04/2000 11:30:08
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
03/04/2000 11:21:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00354325
Message ID:
00354336
Vues:
19
Ben-

I might be missing something in what you're saying. But, if you know how big the array needs to be before the FOR loop (lnSections), why not just dimension the array once, and be done with it? IOW, I'd rewrite:
>FOR lnCount = 1 TO lnSections
>    DIMENSION taReferredArray[lnCount]  && Here is where the issue occurs
>    taReferredArray = lcStrippedValue
>ENDFOR
To something like:
DIMENSION taReferredArray[lnCount]  && Here is where the issue occurs
FOR lnCount = 1 TO lnSections
    taReferredArray[lnCount] = lcStrippedValue
ENDFOR
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform