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  

println()

   
Examples  
println("begin"); 
float f = 0.3; 
println("f is equal to " + f + " and i is equal to " + 1024); 
String s = "end"; 
println(s); 
 
// The above code prints the following lines: 
// begin 
// f is equal to 0.3 and i is equal to 1024 
// end 

Description   Writes to the text area of the Processing environment. This is often helpful for looking at the data a program is producing. Each call to this function creates a new line of output. Individual elements can be separated with quotes ("") and joined with the addition operator (+).
   
Syntax  
println(text)
   
Parameters  
text   any primitive or composite datatype

   
Returns   None
   
Usage   IDE
   
Related   print()
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas