Actions
Added in 1.9.0
/return [text]
Halts a currently executing script and allows the calling routine to continue processing.
Parameters
| Parameter | Description |
| [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 2 years ago · 2 revisions