Cold Help System: Programming: ColdC Reference Manual: Language Structure: Statements: Simple: Return


The return statement stops executing the current method and (optionally) returns a specific value. The return statement can have either of the following two forms:

return expression;
return;

If expression exists the interpreter evaluates and returns its result from the method. Otherwise, if no expression is given the current object is returned.


Comment | Expression | Compound | Return


the Cold Dark