This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
H4X0RZ's profile picture

How can I get the content of a read function?

Started by H4X0RZ, 08 May 2013 - 08:44 AM
H4X0RZ #1
Posted 08 May 2013 - 10:44 AM
No, It's not what you think :P/>

So here's the question:
I work on a program and want to input something, and you can press a button at the same time. So, how can I get the content of an not entered input?
Mads #2
Posted 08 May 2013 - 10:48 AM
If you mean to get the content before the user presses enter, you can easily modify the read() function located in bios.lua, and make it listen for mouse clicks.
Dlcruz129 #3
Posted 08 May 2013 - 10:52 AM
Try using parallel.
H4X0RZ #4
Posted 08 May 2013 - 11:28 AM
If you mean to get the content before the user presses enter, you can easily modify the read() function located in bios.lua, and make it listen for mouse clicks.
Thats what I want, thanks Mads!