
-----------------------------------
KereD
Sun Nov 27, 2005 4:33 pm

Help with text
-----------------------------------
What would be the coding i use if i want to ouput some text but only it be outputted if i hit 'Enter'

so for example
put "hi"
put "hello"
put "hey"

I would want that to be outputted only after hitting the enter key

-----------------------------------
MysticVegeta
Sun Nov 27, 2005 4:41 pm


-----------------------------------
Check Input.KeyDown in turing manual F10

-----------------------------------
Cervantes
Sun Nov 27, 2005 5:33 pm


-----------------------------------
Or perhaps getch would be better.  It would only output your text each time you hit enter, rather than each time the button is determined to be down.

Check the Turing Walkthrough for some links.

-----------------------------------
ZeroPaladn
Mon Nov 28, 2005 10:07 am


-----------------------------------
or perhaps just an Input.Puase in between each put statement. Input.Pause waits for ANY keystroke beofre continuing.

-----------------------------------
DIIST
Tue Dec 06, 2005 9:26 pm


-----------------------------------
Getch would be the best. Its really easy to use. Plus, with Input.Pause, it may echo the keys.

-----------------------------------
ZeroPaladn
Wed Dec 07, 2005 9:37 am


-----------------------------------
then just set the screen...
View.Set ("noecho")

-----------------------------------
Tony
Wed Dec 07, 2005 10:11 am


-----------------------------------
you would use getch() when you're looking for a specific character (or set of)

Input.Pause works fine for waiting for any key (where is this "any key" anyways?
