| 
 | Yorick Language ReferenceReturning from Functions
| return expr | return expr from current function
The expr may be omitted to return nil, which is the default return
value if no return statement is encountered. |  | exit, msg | return from all functions, printing msg |  | error,msg | halt with error, printing msg |  |