Just for testing reasons, comment the return(key_cuu);. I'm not sure if this is allowed (although I don't know why it shouldn't). Just look if the message still turns up.

[edit:] Now I know whats the problem! You define: define my_key_up, key_cuu; and then you write my_key_up = get_key(up_key_var);. This line is the same as if you write key_cuu = get_key(up_key_var);!!!

PS:I'm not totally sure if it's realy like i mentioned, but I think I'm right^^

Dark_Samurai

Last edited by Dark_samurai; 11/10/07 17:03.