Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ General
➜ Error reading a file
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Ksajal
(17 posts) Bio
|
| Date
| Thu 06 May 2010 07:37 AM (UTC) Amended on Thu 06 May 2010 12:50 PM (UTC) by Ksajal
|
| Message
| I have another problem with reading from an .xml file where I have my triggers.
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:
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. | | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
8,001 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top