Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Aappend?
Message
De
28/12/2001 16:52:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00598974
Message ID:
00598992
Vues:
19
>>>Does anyone have a routine that would work for this. I have 2 arrays that have the same structure(?), I want to append the data from the first array to the bottom of the second array, without overwriting what is in the second one already? I think I must be missing something, because it sounded a lot easier to me then it is turning out to be. Thanks,
>>>jfh
>>
>>John,
>>
>>lnFirst = alen(arrFirst,1)
>>dimension arrFirst[lnFirst+alen(arrSecond,1),alen(arrFirst,2)]
>>acopy(arrSecond, arrFirst, 1, -1, lnFirst+1)
>>
>>Oh you would write to bottom of second. Adjust.
>>Cetin
>
>Thanks Cetin.
>jfh

John,
Opps :) It would be :

acopy(arrSecond, arrFirst, 1, -1, lnFirst * alen(arrFirst,2)+1)


Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform