Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug in ACOPY function
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00785998
Message ID:
00786191
Vues:
13
Yes it does. While looping through a list of tables, I needed to copy the results of AFIELDS in an array property of one object to another array property in another object when this hit me. Thanks for simplifying.

>Hi Mark,
>
>Does following code demonstrates the same bug?
DIMENSION a1[10], a2[5]
>? ACOPY(a1,a2)    && error
>? ALEN(a2)
>
The VFP help states that, "If the destination array already exists, it is redimensioned to the size of the source array" but it's not how ACOPY worked since FOX2.6. It's only true if destination arrays has 1 item.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform