yorick banner

Home

Manual

Packages

Global Index

Keywords

Quick Reference

Yorick Language Reference

Returning 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