Home › Forums › Problems and solutions in GDL › Parameter connections › dynamic arrays and returned_parameters › Reply To: dynamic arrays and returned_parameters
November 8, 2016 at 12:06
#2845
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