Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loopin a variable length array
Message
 
À
21/02/1999 20:31:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00189697
Message ID:
00189875
Vues:
10
>>James,
>>
>>lnControls = ALEN(Thisform,.array,1)
>>FOR lnCnt = 1 TO lnControls
>> * Do the recalc.
>> lnControls = ALEN(Thisform.Array,1)
>>ENDFOR
>
>Hi, Jim,
>
>Will this work? I tried a couple of variations on this theme and what happens is that while the value of lnControls will change, the number of iterations performed by the FOR/ENDFOR loop does not.

James,

No it won't, it was a shot in teh dark as an idea. But experimentation found that it doesn't work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform