Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combining Arrays
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00219637
Message ID:
00219739
Views:
63
>DIMENSION x[2], y[3]
>y = .t.
>nOldSize = ALEN(x,1)
>DIMENSION x[nOldSize+ALEN(y,1)]
>ACOPY(y,x,1,-1,nOldSize+1)
>
>You now have a "new" x array containing its original values and the contents of y array. In this case elements 1-2 contain .f., and elements 3-5 contain .t..

Looks good, and should be faster than AINS...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform