I wrote: > You can declare arbitrary-sized, n-dimensional arrays: Sorry, I re-read your post. You want to programatically define the array dimensions depending on function arguments. You could try building a string, then casting to the correct array type (not tested). ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster