14 posts
Posted 05 January 2013 - 08:52 PM
So i am trying to code a server which will wait for a rednet message check the message to see if it works with the tables i set up and then sends confirmation to the computer. When i run the program all it does is print 7 on the computer then ends the program. What is the meaning of this O.o?
code:
here
1111 posts
Location
Portland OR
Posted 05 January 2013 - 08:59 PM
This line
elseif message == (logon[3]..":"..password[3] then -- your missing the )
elseif message == (logon[3]..":"..password[3]) then
14 posts
Posted 05 January 2013 - 09:06 PM
ok that worked but why did it say 7 doesn't it normally give a ")" expected to end error?
1111 posts
Location
Portland OR
Posted 05 January 2013 - 09:15 PM
I'm not sure why but it does that with some of the errors. I don't think that there is any significance in the number 7, the number seems to be random. At times I've seen it be the offending line number but that is not always the case. Line 7 was the start of the if block that the error was in, not sure if that means anything or not.