General information
Category:
Coding, syntax & commands
>>>Correct. Do it without the dimension statement then look at the array. COPY TO ARRAY for 1 field always is dimensioned as aArray[n,1]
>>
>>Still, this is an one dimensional array.
>>
>>Vlad
>
>I believe the dimensions refer to the number of coordinates that define the array element, therefore a one dimensional array will have only one dimension (neither row nor column, just one dimension). The moment you refer to an element by its row, you implicitly assume that the array is two dimensional (there can be no rows without columns). Take a cartesian system of axis x, y for example. Any point on the x axis will have y = 0, where y is its second dimension although its value is 0.
>I agree that, if we speak in Foxpro terms, a two dimensional array with just one column may be treated as one dimensional because its element's absolute reference will have the same value as its relative reference to row, column, in which the issue becomes pure philosophical.
Agreed.
Vlad
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