>Hi:
>
>Thanks for responding. The redimensioning worked, but when I try to copy
>acopy(details, fileinfo)
>
>then display fileinfo I get the correct number of elements but the last number
>of elements that are to include the detail array elements are .f.
>
>I also tried acopy(details, fileinfo, 1, 3, 54)
>
>where 1 = 1st source element
> 3 = no. of elements
> 54 = element number to replace
>
>I still get .f. for the new elements contents.
>
>Am i doing something incorrect?
>
>Sheena E.
Try the following in a program to run in the VFP main screen...
CLEA
DIMENSION FILEINFO[2,1]
DIMENSION DETAILS[1,1]
FILEINFO[1,1]="FILE1"
FILEINFO[2,1]="FILE2"
DETAILS[1,1]="DETAILS1"
DISP MEMO LIKE DETAILS
DISP MEMO LIKE FILEINFO
DIMENSION DETAILS(3,1) && Redimension to add elements from FileInfo
=ACOPY(FILEINFO,DETAILS,1,2,2)
?
?
? "After ACOPY()"
?
DISP MEMO LIKE DETAILS
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only