Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loopin a variable length array
Message
De
22/02/1999 01:07:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00189697
Message ID:
00189878
Vues:
9
>>>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.

Jim,

Oh, well. I though you may have figured out one of your clever ways to make it work. Too bad, but many thanks for the effort.

regards,
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform