I have another problem with reading from an .xml file where I have my triggers.
When I try this (the example from io.input):
I get this message:
I am absolutely clueless to what it means, can someone please help me?
EDIT: After almost deleting the file out of shear frustration, I simply selected all its content, and pasted it into another file with the same name.
It works, except for a few mistakes in the script that I am trying to fix.
EDIT2: Fixed all the typos in my script, it works.
When I try this (the example from io.input):
f = io.input ("system_tracking.xml")
repeat
s = f:read ("*l") -- read one line
if s then -- if not end of file (EOF)
print (s) -- print that line
end
until not s -- until end of file
f:close () -- close that file now
I get this message:
ÿþ<e\(o
I am absolutely clueless to what it means, can someone please help me?
EDIT: After almost deleting the file out of shear frustration, I simply selected all its content, and pasted it into another file with the same name.
It works, except for a few mistakes in the script that I am trying to fix.
EDIT2: Fixed all the typos in my script, it works.