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

read() question

Started by HurricaneCoder, 09 June 2013 - 04:53 PM
HurricaneCoder #1
Posted 09 June 2013 - 06:53 PM
I am creating a mail system and I use read(). The problem is read() is not intelligent enough to said that there is no more space left and go to the next line.is there away to make read() go down to the next line? Also when user type a really long mail the mail when print will go off the box that I wanted it to be in. Is there a way to fix that as well like a scrolling system. I wanted a scrolling system so when you drag the mouse, the mail message shift up one or down one depend on the mouse drag but I do not know how to code this.
Orwell #2
Posted 09 June 2013 - 07:38 PM
I remember answering this question a long time ago and I found it: http://www.computercraft.info/forums2/index.php?/topic/7782-how-to-restrict-the-length-of-a-word/page__view__findpost__p__66098
The whole thread is worth reading. :)/>
HurricaneCoder #3
Posted 09 June 2013 - 09:16 PM
I remember answering this question a long time ago and I found it: http://www.computerc...dpost__p__66098
The whole thread is worth reading. :)/>


Thanks So Much It helps.