Actions
Return » History » Revision 1
Revision 1/2
| Next »
Per Amundsen, 02/14/2014 03:16 AM
Added in 1.9.0
/return [text]
Halts a currently executing script and allows the calling routine to continue processing.
Parameters
[text] - Text to return.
Example
alias example {
;Return the addition of two values.
/echo -a $add(2, 5)
}
;Add two numbers.
alias add {
/return $calc($1 + $2)
}
Updated by Per Amundsen over 11 years ago · 2 revisions