Jump to content




Print and io.read help


  • You cannot reply to this topic
2 replies to this topic

#1 Heroj04

  • Members
  • 32 posts

Posted 05 June 2013 - 02: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

#2 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 05 June 2013 - 03:13 AM

just use write instead of print
also, you should use read instead of io.read

#3 Heroj04

  • Members
  • 32 posts

Posted 05 June 2013 - 03:19 AM

thanks worked great





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users