FAQ
 
 
Cover  \ Exhibition  \ Learning  \ Reference  \ Download  \ Discourse   
      Language \ Environment \ Libraries \ Comparison
 
   
   
Abridged (A-Z) \ Complete (A-Z)  
   
  Reference for Processing (BETA) version 91+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.  
Name  

void

   
Examples  
void setup() { 
  size(200, 200); 
} 
 
void draw() { 
  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 it returns nothing.
   
Syntax  
void function {
  statements
}
   
Parameters  
function   any function that is being defined or implemented

statements   any valid statements

   
Usage   Web & Application
   
 
 






   
 
Updated: Fri Jul 15 16:36:17 PDT 2005
 
 








Creative Commons License
 
  Processing is an open project initiated by Ben Fry and Casey Reas  
  © Info