>>Well, yeah I know, but it still seems that this could and should trigger an error . . .
>>
>>>I think you answered your own question. Arrays in VFP are actually one dimensional...it does some tricks to make them seem two dimensions.
>>>
>
>I'd sure call it a bug, or at the very least a documentation deficiency.
>But only the latter if VFP in fact uses only the second argument to calculate the position IN A MIS-ADDRESSED array.
>At the least I would have expected xxx(2,1) to display the second element.
>
>cheers
I would have also. It gets "weirder??????" in that fox only recognizes the column subscript if you reference a one dimesional arry with two subscripts.
DIME abc[4]
STORE 1 TO abc[1],2 to ABC[2], etc.
? abc[99,1] ----> 1
? abc[99,2] ----> 2
? abc[1,5] -----> Subscript out of range error