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

[Question] Arrow menu

Started by crackroach, 06 November 2012 - 01:42 PM
crackroach #1
Posted 06 November 2012 - 02:42 PM
Hi everyone,

I'm trying to do an arrow menu. Until now I've been stuck. What I want to do is put an arrow ( >) on the left side of the choice in the menu and when you press down or up on the keyboard, the arrow do the same!!! I've come to think that my problem reside in the fact that I don't use the good loop. So if you can explain me how to do it, every step or something like that so I will be able to modified it and or remake it in a futur program.

Thanks in advance.
Doyle3694 #2
Posted 06 November 2012 - 10:18 PM
2 things. first, there is no down facing arrow(atleast not on a normal keyboard, there might be in the ASCII register)

second, post your code so we can read it and see where you have gone wrong. There is no sample code that just works everywhere, it's all dependant on your situation :P/>/>
Zoinky #3
Posted 06 November 2012 - 11:56 PM
2 things. first, there is no down facing arrow(atleast not on a normal keyboard, there might be in the ASCII register)

second, post your code so we can read it and see where you have gone wrong. There is no sample code that just works everywhere, it's all dependant on your situation :P/>/>

1. I'm pretty sure he is talking about the up and down arrow keys.
2. Good suggestion.

EDIT: This might help.
crackroach #4
Posted 07 November 2012 - 02:57 AM
2 things. first, there is no down facing arrow(atleast not on a normal keyboard, there might be in the ASCII register)

second, post your code so we can read it and see where you have gone wrong. There is no sample code that just works everywhere, it's all dependant on your situation :P/>/>

1. I'm pretty sure he is talking about the up and down arrow keys.
2. Good suggestion.

EDIT: This might help.

Thanks that exacly what I was trying to make. thanks again