>>Actually I am asking this question again..
>>
>>I am using afields to get the structure of dbf's in array, I want to merge my arrays containing structures of diff. files into one array.
>>
>>Which is the best way to do this ??
>>
>>All suggestions/helps/advice are welcome...:)
>
>Here's one way:
>
>=ACOPY(Source1,Dest1,1,ALEN(Source),1)
>nCnt = ALEN(Dest1) + 1
>DIME Dest1(nCnt-1+ALEN(Source2))
>=ACOPY(Source2,Dest1,1,ALEN(Source2),nCnt)
>
> repeat
>
>nCnt = ALEN(Dest1) + 1
>DIME Dest1(nCnt-1+ALEN(Source3))
>=ACOPY(Source3,Dest1,1,ALEN(Source3),nCnt)
>
> etc.
>
>Although I don't understand why you'd need to do this....Have you tried using COPY STRUCTURE EXTENDED ?
>
>Matt
Ok, Ok, Finally I got some other way, thanks, I will give it a try...
Acutally, I want length(s) of some fields in program, if it will be in one array I can use 1 ascan command and find out.. without searching in multiple arrays...
Any other ideas !!!!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement