[Gambas-user] String[] in Sub, what is going wrong
Rolf-Werner Eilert
eilert-sprachen at ...221...
Wed Apr 27 18:02:27 CEST 2016
This is the code:
Public Sub setFontNameList(fontliste As String[])
Dim i As Integer
fntexc.Clear
For i = 0 To fontliste.count - 1
fntexc.Add(fontliste[i])
Next
End
It didn't run, so I set a Wait to the line fntexc.Clear. "fontliste[]"
is delivered as it should, it has 3 items. But fontliste.Count is 0,
fontliste.Max would be -1. So it is never copied.
What is going wrong here???
Regards
Rolf
More information about the User
mailing list