Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Moving contents of a LIST into an ARRAY?
Message
De
04/04/1997 08:22:57
 
 
À
03/04/1997 18:46:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00026813
Message ID:
00026964
Vues:
33
>> declare array[10]
>>
>> for i = 1 to thisform.mylist.listcount
>> store thisform.list to array(j)
>> j = j +1
>> endfor
>>
>> What do you think?
>
>why do u use I and J ? one is enough
>also you can use ACOPY to copy the listItem array (from the list) into your array
>
>Arnon

Thanks Arnon... I worked it out using...

declare ta[10]
for i = 1 to thisform.list2.listcount
store this.parent.list2.list(i) to ta[j]
j = j+1
endfor
thanks again.. rob
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform