Method returning multidim array

I have a method that creates a multidim string array, fills it with fancy stuff and returns it.
But Xojo complains about

MainWindow.SaveTree, line 20 Type mismatch error. Expected String(), but got String(,) Return TreeArray


[code]Public Function SaveTree(TreeListBox as Listbox) as String()

Var TreeArray(1,3) As String

-doing things here-

Return TreeArray
End Function[/code]

Never had this error before…
Putting a comma in the ‘as String(,)’ fixes it…

Makes sense. How else would you declare a multi-dimensional array return value?

I thought it would detect single or multidim array automatically…