18,700
edits
m (→Functions: wording) |
m (→return: more specific link) |
||
Line 180: | Line 180: | ||
The statements under "else" will never run. The "return" will actually kick in and the function will exit, even though the surrounding control statement did not evaluate to true. | The statements under "else" will never run. The "return" will actually kick in and the function will exit, even though the surrounding control statement did not evaluate to true. | ||
However, "return" is still useful for returning data to a calling function; see [[# | However, "return" is still useful for returning data to a calling function; see the section on [[#Returning|returning function values]]. | ||
====sleep==== | ====sleep==== |