
-----------------------------------
scott326
Sun Apr 29, 2007 6:33 pm

got a turing question
-----------------------------------
i have a turing test tomorrow.. and I am stuck with one question

What command do you need to test to see if the ENTER key was pressed? (this command works in put lines but not in if lines)

the answers must be either "chr" or "ord".. which one is it??

Thanks guys

-----------------------------------
ericfourfour
Sun Apr 29, 2007 8:40 pm

RE:got a turing question
-----------------------------------
The character for enter is KEY_ENTER or '\n'.

-----------------------------------
Andy
Sun Apr 29, 2007 8:42 pm

RE:got a turing question
-----------------------------------
either one can be used. look up what they do in the turing references.
