Dynamic arrays can be returned, but it will be converted to a single array. If we need to return data in this way, we usually return the sizes of the array first, the the array itself:
end arraySize1, arraySize2, array
After that in the caller object you can rebuild the original array in a nested loop.
Team Leader, Library Team