Language \ Environment \ Comparison
 
Index
 
  The Processing 1.0 _ALPHA_ Reference is a work in progress.
If you see any errors or have any comments, please write to: reas at groupc.net
Name  

++ (increment)

   
Examples  
int a = 0;    // Sets "a" to 0 
int b = a++;  // Sets "b" to 1 
int c = b++;  // Sets "c" to 2 

Description   Increases the value of an integer variable by 1. Equivalent to the operation i = i + 1. If the value of the variable i is five, then the expression i++ increases the value of i to 6.
   
Syntax  
value++
   
Parameters  
value   int

   
Usage   Web & Application
   
Related   + (add)
+= (add assign)
-- (decrement)
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas