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  

void

   
Examples  
void setup() { 
  size(200, 200); 
} 
 
void loop() { 
  line(10, 100, 190, 100); 
} 

Description   Keyword used indicate a function returns no value. Each function must either return a value of a specific datatype or use the keyword void to specify the function returns nothing.
   
Syntax  
void function {
  statements
}
   
Parameters  
function   any function that is being defined or implemented

statements   any valid statements

   
Usage   Web & Application
   
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas