インフォ FAQ
言語 環境比較
 
Index
 
  Processing 1.0 _ALPHAリファレンスは開発途中である。
もしエラーやコメントがあれば、reas at groupc.netへメールして下さい。
Name  

print()

   
Examples  
print("begin: "); 
float f = 0.3; 
int i = 1024; 
print("f is " + f + " and i is " + 1024); 
String s = " :end"; 
println(s); 
 
// 上のコードは以下のラインをプリントする: 
// begin: f is 0.3 and i is 1024 :end 
 

Description

 

 

Processing環境のテキストエリアに表記する。これはプログラムが作っているデータを見ることに役立つ。これに伴うprintln()機能はprint()のようにはたらくが、機能によばれる度に新しい行を作る。個々のエレメントは ("") によって分けることができ、加算演算子(+)によってつなげられる。

   
Syntax  
print(text)
   
Parameters  
text   どんな基本的もしくは合成したデータタイプでもよい
   
Usage   IDE
   
Related   println()
   
© 2004- 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas