I have undertaken a project to write a UDF that will take a parametric array as an argument. The thing that is looking awkward to me is that each element of the parametric array will be an array/range itself. Recognizing that a series of polynomials is an imperfect example, here is how it looks for a series of polynomials.I'm sure I could process polys() into a 2D array before moving on to the main processing loops, but is such a step necessary? Do I just need to bite the bullet and become more comfortable with this "array of arrays" notation? Or do "real" programmers prefer not to work with this array of arrays structure?Please Login or Register to view this content.
Does anything change if I add that in my real project, each element of polys is a 2D range? Which is really worse:
a 3D array polys(i,j,k)
a paramarray of 2D arrays polys(i)(j,k)
I realize that this kind of thing may not have a solid answer, but I would appreciate some feedback from more experienced programmers.
Bookmarks