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 › "return" reference page contains error
Page Index Toggle Pages: 1
"return" reference page contains error (Read 991 times)
"return" reference page contains error
Sep 21st, 2008, 9:40pm
 
The reference page for "return" contains mistakes:
http://processing.org/reference/return.html

Currently is:

typefunction {
 statements
 return value
}

Should be:

type function (arguments) {
 statements
 return value
}

To be even more clear at first sight:

typeOfReturnValue functionName (type arg1, type arg2, ...)  {
 statements
 return value
}
Re: "return" reference page contains err
Reply #1 - Sep 22nd, 2008, 2:43am
 
This is fixed.
Page Index Toggle Pages: 1