Using Gets()

new topic     » topic index » view thread      » older message » newer message

Experimenting with using gets() to get keyboard input. I used the following code to attempt to get the keycodes for leftkey and rightkey.

sequence key_sequence  
integer key_code 
key_sequence = gets(0) 
position(24,50) 
printf(1,"%1.5s",{key_sequence}) 
key_code = wait_key() 
<\eucode> 
 
I got no screen display at all. Why not?
new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu