Posted 27 August 2013 - 09:09 AM
Title: I can't find what's wrong with my program.
I am trying to transfer data bettween computers using the length of redstone signals to build a string one letter at a time on the computer that is recieving the signal. My transfer program works fine but when I try to send something my redstonerecieve program gets stuck in it's recieve() function. I put in print()s to certain areas in the program and it only printed from the recieve() function. Also the count variable never got past 2 which is not supposed to happen. Maybe it's something with my while loop because I was never able to get them to work for some reason. I still have not been able to see what is wrong. Thanks in advance for your help.
http://pastebin.com/ZQjRd1np This is the one that doesn't work.
http://pastebin.com/9dnNmKAC This is it's companion program that does work.
Also if you are going to test it make sure it's a 6 letter word, I haven't added something for different length words.
I am trying to transfer data bettween computers using the length of redstone signals to build a string one letter at a time on the computer that is recieving the signal. My transfer program works fine but when I try to send something my redstonerecieve program gets stuck in it's recieve() function. I put in print()s to certain areas in the program and it only printed from the recieve() function. Also the count variable never got past 2 which is not supposed to happen. Maybe it's something with my while loop because I was never able to get them to work for some reason. I still have not been able to see what is wrong. Thanks in advance for your help.
http://pastebin.com/ZQjRd1np This is the one that doesn't work.
http://pastebin.com/9dnNmKAC This is it's companion program that does work.
Also if you are going to test it make sure it's a 6 letter word, I haven't added something for different length words.