
-----------------------------------
vdemons
Sat May 21, 2011 9:24 pm

How do you use letters (on a keyboard) to control an action?
-----------------------------------
I am very familiar with the "Input.KeyDown (chars)", and the chars (KEY_UP_ARROW) and all that, but I want to also use the letters to do  something as well. In the Turing guide it said to use ord, and I did but it gives me an error what do I do?

-----------------------------------
HRI
Sat May 21, 2011 9:34 pm

RE:How do you use letters (on a keyboard) to control an action?
-----------------------------------
if chars ('a')
then
   %action
end if

-----------------------------------
vdemons
Sat May 21, 2011 9:42 pm

RE:How do you use letters (on a keyboard) to control an action?
-----------------------------------
Oh well that was painfully obvious my bad :P thank you very much.
