This compiles without error:
However I cannot work out the syntax to access the return value.
This doesn't work:
because the Array keyword is returning a single dimension array - so how do I return a 2D array ?
There doesn't seem to be much to go on: a search of the forums reveals nothing, the documentation has nothing, and the video on Arrays says nothing.
Can anyone help ?
B4X:
Sub dbg As String(2,2)
Public strArr(2,2) As String
strArr(1,1) = "Hello world!"
Return Array(strArr)
End Sub
This doesn't work:
because the Array keyword is returning a single dimension array - so how do I return a 2D array ?
There doesn't seem to be much to go on: a search of the forums reveals nothing, the documentation has nothing, and the video on Arrays says nothing.
Can anyone help ?
Last edited: