Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Moving contents of a LIST into an ARRAY?
Message
From
04/04/1997 08:22:57
 
 
To
03/04/1997 18:46:59
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00026813
Message ID:
00026964
Views:
31
>> 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
Previous
Reply
Map
View

Click here to load this message in the networking platform