We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › question about - Serial.list()[0]
Page Index Toggle Pages: 1
question about - Serial.list()[0] (Read 326 times)
question about - Serial.list()[0]
Nov 5th, 2005, 8:40pm
 
hi
its getting colder these days .mind you don't catch cold.
anyway.
in this sentence-->
*********
myPort = new serial(this, Serial.list()[2], 9600);  
*********
what [2] means?

i think [0] is com1
[1] is com2
[2] is com3 mean...
right?
plz help beginner.
Page Index Toggle Pages: 1