return -- exit from a function |
Syntax |
return return E |
Description |
Example |
/**/ Define Rev(L) -- reverse a list /**/ If len(L) < 2 Then Return L; EndIf; /**/ M := Rev(Tail(L)); -- recursive function call /**/ append(ref M, L[1]); /**/ Return M; /**/ EndDefine; /**/ Rev([1,2,3,4]); [4, 3, 2, 1] |
See Also |