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.
IndexSuggestions & BugsWebsite,  Documentation,  Book Bugs › serial.readStringUntil() return type
Page Index Toggle Pages: 1
serial.readStringUntil() return type? (Read 1737 times)
serial.readStringUntil() return type?
May 4th, 2009, 4:25pm
 
Folks,

Sorry if this question was already discussed here before, but the website says that the return type of the serial.readStringUntil() is "int"! Is that right? Shouldn't it be 'string"?
Thanks in advance,

Antonio
Re: serial.readStringUntil() return type?
Reply #1 - May 6th, 2009, 11:33pm
 
Good catch. I just assumed it was returning a string (based on the sample code), and it does indeed return a string for me.  I use it in my code.
Re: serial.readStringUntil() return type?
Reply #2 - Oct 18th, 2009, 10:21am
 
Thank you. It will be fixed with the next update.
Page Index Toggle Pages: 1