I'm quite new to coding and I have never worked with saving stuff into an external file before.
I want to save multiple things to one line, e.g. temperature and date, "32", "08/06/18" or similar to that. I can't seem to figure out which text file method to use, can someone help me please? Thanks a lot!
temp="32"
time="08/06/18"
save("log.Text",temp&","&time)
Sub save(namefile As String,value As String)
File.WriteString(File.DirTemp,namefile,value)
End Sub
temp="32"
time="08/06/18"
save("log.Text",temp&","&time)
Sub save(namefile As String,value As String)
File.WriteString(File.DirTemp,namefile,value)
End Sub
open("log.txt")
Sub open(namefile As String)
Dim x As String
x=File.ReadString(File.DirTemp,namefile)
temp=x.SubString2(0,1)
time=x.SubString(3)
End Sub
It actually doesn't, thanks for that tip :-D
Saving works fine now, but if I want to log the loaded CSV, I only get: (ArrayList) [[Ljava.lang.String;@408efbe8, [Ljava.lang.String;@5ad11920, [Ljava.lang.String;@78285dd6]
What did I do wrong?