Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add a new element to the end of an array
Message
 
À
15/05/1997 05:05:28
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Groupes d'usagers
Divers
Thread ID:
00032386
Message ID:
00032404
Vues:
35
>>Hi Folks!
>>
>>Trying to replicate the same effect as AADD() in Clipper 87
>>
>>any suggestions besides going on vacation?
>>
>>AADD() Adds a new element to the end of an array.
>>
>>How do we do this in VFP?
>>
>>Any help would be greatly appreciated
>>
>>Wilson Pye
>>Pye Software Development
>>Email: pye@www.pyesoft.com
>
>Try :-
>tmplen=alen(yourarray)
>dimension yourarray(tmplen+1)

Or in only 1 line:

DIMENSION MyArray[alen(myarray,1)+1,alen(myarray,2)]


;-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform