Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Fox > Re: VFP Array E...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 830 of 861
Post > Topic >>

Re: VFP Array Element Handling Gotcha

by Rush Strong <rpstrong@[EMAIL PROTECTED] > Feb 13, 2008 at 01:49 AM

Rush Strong wrote:
> 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 
logical fourth row - still element number 7.

 - Rush
 




 3 Posts in Topic:
VFP Array Element Handling Gotcha
Gene Wirchenko <genew@  2008-02-12 16:20:41 
Re: VFP Array Element Handling Gotcha
Rush Strong <rpstrong@  2008-02-13 01:44:41 
Re: VFP Array Element Handling Gotcha
Rush Strong <rpstrong@  2008-02-13 01:49:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 1:24:02 CDT 2008.