Posted 08 July 2012 - 05:14 AM
Just some background first:
I was messing around with the rednet stuff, creating linked computers that would send and receive info, the basic idea was to see if I could get a main computer to send a message to multiple computers, triggering the receiving one to send back a message, of whether or not there was a current flowing into a selected side. As such, there was two separate bits of code, and I will post both. I also tried to get it to display to a monitor, using a startup program that called [ shell.run("monitor", "top", "startup_prog")]. However, I could run it both ways.
The Error:
When I try to run the program, I get an error that says:
[indent=1][bios:206: [string "startup_prog"]:77: '<eof>' expected][/indent]
I believe that <eof> is the end of file marker, and to fix this I tried opening the actual file in about 3 different programs, namely notepad and notepad++. However, it gave me another error saying there was an unexpected symbol on line 77.
Help?
Main server code:
[attachment=295:startup_prog-main.txt]
Client code:
[attachment=294:startup_prog-client.txt]
I was messing around with the rednet stuff, creating linked computers that would send and receive info, the basic idea was to see if I could get a main computer to send a message to multiple computers, triggering the receiving one to send back a message, of whether or not there was a current flowing into a selected side. As such, there was two separate bits of code, and I will post both. I also tried to get it to display to a monitor, using a startup program that called [ shell.run("monitor", "top", "startup_prog")]. However, I could run it both ways.
The Error:
When I try to run the program, I get an error that says:
[indent=1][bios:206: [string "startup_prog"]:77: '<eof>' expected][/indent]
I believe that <eof> is the end of file marker, and to fix this I tried opening the actual file in about 3 different programs, namely notepad and notepad++. However, it gave me another error saying there was an unexpected symbol on line 77.
Help?
Main server code:
[attachment=295:startup_prog-main.txt]
Client code:
[attachment=294:startup_prog-client.txt]