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

second()

   
Examples  
void loop() { 
  int s = second();  // 0 から 59の値 
  int m = minute();  // 0 から 59の値 
  int h = hour();    //  0 から 23の値 
  line(s, 0, s, 33); 
  line(m, 33, m, 66); 
  line(h, 66, h, 100); 
} 
Description  

Processingはコンピューターの時計とコミュニケーションしている。 second()機能は、現在の 0 から 59の秒数をかえす。

 

   
Syntax  
second
   
Returns   整数
   
Usage   Web & Application
   
Related   millis()
second()
minute()
hour()
day()
month()
year()
   
© 2004- 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas