![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
Gene Wirchenko wrote: I just got bit in a minor way with the way that VFP handles array elements. Consider the following code: snip It appears that Fox locates twod[4,3] by locating the element corresponding to the start of the logical fourth row by multiplying the declared number of columns (2) times 4 - which is element number 7 Oops, I meant to say columns * (4 - 1) + 1, to get the start of the |
#12
| |||
| |||
|
|
Gene Wirchenko wrote: I just got bit in a minor way with the way that VFP handles array elements. Consider the following code: snip It appears that Fox locates twod[4,3] by locating the element corresponding to the start of the logical fourth row by multiplying the declared number of columns (2) times 4 - which is element number 7 Oops, I meant to say columns * (4 - 1) + 1, to get the start of the |
#13
| |||
| |||
|
|
Gene Wirchenko wrote: I just got bit in a minor way with the way that VFP handles array elements. Consider the following code: snip It appears that Fox locates twod[4,3] by locating the element corresponding to the start of the logical fourth row by multiplying the declared number of columns (2) times 4 - which is element number 7 Oops, I meant to say columns * (4 - 1) + 1, to get the start of the |
#14
| |||
| |||
|
|
Gene Wirchenko wrote: I just got bit in a minor way with the way that VFP handles array elements. Consider the following code: snip It appears that Fox locates twod[4,3] by locating the element corresponding to the start of the logical fourth row by multiplying the declared number of columns (2) times 4 - which is element number 7 Oops, I meant to say columns * (4 - 1) + 1, to get the start of the |
#15
| |||
| |||
|
|
Gene Wirchenko wrote: I just got bit in a minor way with the way that VFP handles array elements. Consider the following code: snip It appears that Fox locates twod[4,3] by locating the element corresponding to the start of the logical fourth row by multiplying the declared number of columns (2) times 4 - which is element number 7 Oops, I meant to say columns * (4 - 1) + 1, to get the start of the |
#16
| |||
| |||
|
|
Gene Wirchenko wrote: I just got bit in a minor way with the way that VFP handles array elements. Consider the following code: snip It appears that Fox locates twod[4,3] by locating the element corresponding to the start of the logical fourth row by multiplying the declared number of columns (2) times 4 - which is element number 7 Oops, I meant to say columns * (4 - 1) + 1, to get the start of the |
#17
| |||
| |||
|
|
Gene Wirchenko wrote: I just got bit in a minor way with the way that VFP handles array elements. Consider the following code: snip It appears that Fox locates twod[4,3] by locating the element corresponding to the start of the logical fourth row by multiplying the declared number of columns (2) times 4 - which is element number 7 Oops, I meant to say columns * (4 - 1) + 1, to get the start of the |
#18
| |||
| |||
|
|
Gene Wirchenko wrote: I just got bit in a minor way with the way that VFP handles array elements. Consider the following code: snip It appears that Fox locates twod[4,3] by locating the element corresponding to the start of the logical fourth row by multiplying the declared number of columns (2) times 4 - which is element number 7 Oops, I meant to say columns * (4 - 1) + 1, to get the start of the |
#19
| |||
| |||
|
|
Gene Wirchenko wrote: I just got bit in a minor way with the way that VFP handles array elements. Consider the following code: snip It appears that Fox locates twod[4,3] by locating the element corresponding to the start of the logical fourth row by multiplying the declared number of columns (2) times 4 - which is element number 7 Oops, I meant to say columns * (4 - 1) + 1, to get the start of the |
![]() |
| Thread Tools | |
| Display Modes | |
| |