B4J Question File.writelist too many parameters???

Cableguy

Expert
Licensed User
Longtime User
This is as a simple code as one can have:
B4X:
    Dim myList As List
    myList.Initialize
    myList.Add("#############################")
    myList.Add("")
    myList.Add("Created the " & DateTime.Date(DateTime.Now))
    File.WriteList(File.DirData,"config.ini",myList)

and I am getting a "too many parameters alert/error !?
 

Cableguy

Expert
Licensed User
Longtime User
I had forgotten all about the missing parameter in DirData and was mislead by the "too many parameters" alert!
thanks EREL!!!
 
Upvote 0
Top