in reply to Arrays and Scalar Parameters

Everyone's told you how to return two values. Here is another idea: return an object instead. The object encapsulates the multidimentional array in toto, and provides a good way to access it without having to understand the layout directly.

—John