Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 09:08, 7 March 2011 by Catglobe (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Using return

The return statement causes a script to return. It can also be used to return a value.

The general form of a return statement:

return ;

or return expression;

When a return statement is encountered, the script is terminated, discarding any codes remaining.