>dimension a1[200] >dimension a2[200,1] > >One may then ask, how many columns there are in a1 and in a2? > >?Alen(a1,2) && returns 0 ?? >?alen(a2,2) && returns 1 > >Yuri, a bug is sure.
CLEAR DIMENSION onedimension[2] && bug VFP see this as [200,0] but correct is [1,200] ? ALEN(onedimension,1),ALEN(onedimension,2) && 2,0 onedimension[1] = 1 onedimension[2] = 3 CREATE CURSOR TEST (AA I,BB I) APPEND FROM ARRAY ONEDIMENSION && HERE VFP USE onedimension[1,2] BROWSE * then expected output of * ? ALEN(onedimension,1),ALEN(onedimension,2) * is 1,2