Hi there
In most of my existing subs I have used String(), whether this is being passed to a function or returned to a function. Whilst I know I can just use a list for such, I was dreading the re-writing, I will do it anyway.
Here is some example of this..
Whilst its good B4J code, returns an error in BANano, these i.e. String() are not supported?
In most of my existing subs I have used String(), whether this is being passed to a function or returned to a function. Whilst I know I can just use a list for such, I was dreading the re-writing, I will do it anyway.
Here is some example of this..
B4X:
Sub StrParse(delim As String, mvField As String) As String()
Dim items As List = StrParse2List(delim,mvField)
Dim itemsTot As Int = items.Size - 1
Dim itemsCnt As Int
Dim output(itemsTot) As String
For Each strValue As String In output
Log(strValue)
Next
For itemsCnt = 0 To itemsTot
output(itemsCnt) = items.Get(itemsCnt)
Next
Return output
End Sub
Whilst its good B4J code, returns an error in BANano, these i.e. String() are not supported?