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

Print and io.read help

Started by Heroj04, 05 June 2013 - 01:58 AM
Heroj04 #1
Posted 05 June 2013 - 03:58 AM
so i was writing a program and i wanted to make it so the io.read appeared next t what i printed.
for example instead of:
please type here ---->
<io.read() placed here>

I want
please type here---> <io.read() placed here>
thanks
theoriginalbit #2
Posted 05 June 2013 - 04:13 AM
just use write instead of print
also, you should use read instead of io.read
Heroj04 #3
Posted 05 June 2013 - 04:19 AM
thanks worked great