Using return: Difference between revisions
From Catglobe Wiki
More actions
jrfconvert import |
(No difference)
|
Revision as of 09:08, 7 March 2011
ο»Ώ
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.