Reply To: dynamic arrays and returned_​​​parameters

Home Forums Problems and solutions in GDL Parameter connections dynamic arrays and returned_​parameters Reply To: dynamic arrays and returned_​​parameters

#2845
Gergely Fehér
Keymaster

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.

Gergely Fehér
Team Leader, Library Team
GRAPHISOFT SE