that sounds right to me too...

also, think ubound should be enhanced to return the number of dims of multidim array.