Posted by JDS on 11/03/05 21:48
On Thu, 03 Nov 2005 12:10:55 -0500, Parrot wrote:
> Is there something different I need to do in order to return a 2
> dimensional array from a function?
Yes. Create a 2-D array inside the function. Return it.
As simple as this:
function get_2d_array(){
return array(array());
}
Maybe your function is not *creating* a 2D array?
--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
Navigation:
[Reply to this message]
|