Cableguy Expert Licensed User Longtime User Oct 27, 2016 #1 This is as a simple code as one can have: Code: 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 !?
This is as a simple code as one can have: Code: 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 !?
Erel B4X founder Staff member Licensed User Longtime User Oct 27, 2016 #2 Code: Dim myList As List = Array("###############", "", $"Created the $date{DateTime.Now}"$) File.WriteList(File.DirData ("app"), "config.ini", myList) 'File.DirData expects a single parameter. Upvote 0
Code: Dim myList As List = Array("###############", "", $"Created the $date{DateTime.Now}"$) File.WriteList(File.DirData ("app"), "config.ini", myList) 'File.DirData expects a single parameter.
Cableguy Expert Licensed User Longtime User Oct 27, 2016 #3 I had forgotten all about the missing parameter in DirData and was mislead by the "too many parameters" alert! thanks EREL!!! Upvote 0
I had forgotten all about the missing parameter in DirData and was mislead by the "too many parameters" alert! thanks EREL!!!