Option Base and reading from Access
On Wed, 21 Jan 2004 19:07:32 -0600, Chip Pearson wrote:
As a general programming practice, you should never explicitly
hard code the bottom (or top) of an array when reading or writing
its elements. Use LBound and UBound instead.
Oh I am, but this is intricate indexing into an array for interpolation on
two dimensions. I'm gathering the solution is to rewrite the function into
Option Base 0.
Don <donwiss at panix.com.
|