Posted 26 July 2012 - 05:00 AM
I am pretty new to programming in general have been working with computer craft for a bit and am writing a program that takes input only during a period of time but if they don't enter anything the read() that is called prevents the program from acting correctly so I am wondering if it is possible to put a timer in the read() call.
So is it possible to stop a read() call or maybe stop a function that has the read() in it?
If you need more info just let me know what you need.
I have not found anything on this so I am guessing it is not possible or just not easily done so any help on this is greatly appreciated.
So is it possible to stop a read() call or maybe stop a function that has the read() in it?
If you need more info just let me know what you need.
I have not found anything on this so I am guessing it is not possible or just not easily done so any help on this is greatly appreciated.