Lugaru's Epsilon Programmer's Editor 14.04
Context:
|
Previous
|
Up
|
Next
|
Break and Continue Statements |
Epsilon Extension Language |
Save_var Statements |
Epsilon User's Manual and Reference >
Epsilon Extension Language >
Statements >
Return Statement
return;
return expression;
The return statement exits from the function it appears in.
The first form returns no value, and produces an error message if you
called the function in a way that requires a value. The second form
returns expression as the value of the function. It must have
the same type as you declared the function to be. It is not an error
for the value to be unused by the caller.
If execution reaches the end of a function definition, it is the same
as if return; were there.
Previous
|
Up
|
Next
|
Break and Continue Statements |
Epsilon Extension Language |
Save_var Statements |
Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.
|