Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combining Arrays
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00219637
Message ID:
00219739
Vues:
57
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform