Before 6.9 I could do:
Sub Globals
Dim arrColWidths(1) As Int64
End Sub
Sub btnSQL_Click
Dim strColWidths
arrColWidths() = StrSplit(strColWidths, ",")
But that now gives:
Error compiling program.
Error message: error CS0029: Cannot implicitly convert type 'string[]' to 'long[]'
What is the best way to handle this?
Of course I can just do instead: Dim arrColWidths(1)
without setting the datatype, but maybe there is a better way.
RBS
Sub Globals
Dim arrColWidths(1) As Int64
End Sub
Sub btnSQL_Click
Dim strColWidths
arrColWidths() = StrSplit(strColWidths, ",")
But that now gives:
Error compiling program.
Error message: error CS0029: Cannot implicitly convert type 'string[]' to 'long[]'
What is the best way to handle this?
Of course I can just do instead: Dim arrColWidths(1)
without setting the datatype, but maybe there is a better way.
RBS