FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Programming Questions & Help
   Syntax
(Moderators: fry, REAS)
   what is the data type for key?
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: what is the data type for key?  (Read 332 times)
sspboyd


what is the data type for key?
« on: Sep 28th, 2004, 12:51am »

I am trying to save the last key pressed and send it to another function. What is the datatype of key? How can I save it to a variable?
 
thanks,
steve
« Last Edit: Sep 28th, 2004, 12:51am by sspboyd »  

gmail.com w/ sspboyd username
fry


WWW
Re: what is the data type for key?
« Reply #1 on: Sep 28th, 2004, 3:26am »

key is an int, and can be cast to a char or byte if that's more useful.
 
sspboyd


Re: what is the data type for key?
« Reply #2 on: Sep 28th, 2004, 4:21pm »

thanks, that helps.
on Sep 28th, 2004, 3:26am, fry wrote:
key is an int, and can be cast to a char or byte if that's more useful.
 

gmail.com w/ sspboyd username
Pages: 1 

« Previous topic | Next topic »