Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AINS() doesn't work?
Message
 
 
À
08/12/2004 10:34:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00967750
Message ID:
00967756
Vues:
9
You cannot insert new column into an array and preserve existing data because AINS doesn't redimension array. IOW, the last column in the array will be lost.

>I want to insert a new column to a existing 2-dimensional array. I used the foxpro function aIns() to do this:
>
>DIME aMyarray[2,10]
>aMyarray = "ABC"
>=aIns(aMyarray,10,2)
>
>The result is that the aMyarray[2,10] becomes the new value .F. instead of inserting a new column into this array.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform