Posted 20 January 2014 - 03:24 PM
Hello,
Today I was trying to create a simple program to test wireless modems. I set up two Advanced Computers and equipped both with Wireless Modems.
I created two programs, TestSend (for the first PC), and TestRec(ieve) (for the second one). The first one works fine, I loaded both on each computer with os.loadAPI at the Lua prompt, but whenever I try to call the function "recieveMessage" on TestRec, it says: "Attempt to call nil".
Here's the code of both programs.
TestSend: http://pastebin.com/7JzLZyCr
TestRec: http://pastebin.com/vEFPi423
Any help is appreciated :)/>
-joatoche (Joaquin Montero)
Today I was trying to create a simple program to test wireless modems. I set up two Advanced Computers and equipped both with Wireless Modems.
I created two programs, TestSend (for the first PC), and TestRec(ieve) (for the second one). The first one works fine, I loaded both on each computer with os.loadAPI at the Lua prompt, but whenever I try to call the function "recieveMessage" on TestRec, it says: "Attempt to call nil".
Here's the code of both programs.
TestSend: http://pastebin.com/7JzLZyCr
TestRec: http://pastebin.com/vEFPi423
Any help is appreciated :)/>
-joatoche (Joaquin Montero)