Project

General

Profile

Return » History » Version 1

Per Amundsen, 02/14/2014 03:16 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*/return [text]*
4
5
Halts a currently executing script and allows the calling routine to continue processing.
6
7
*Parameters*
8
9
[text] - Text to return.
10
11
*Example*
12
13
<pre>
14
alias example {
15
  ;Return the addition of two values.
16
  /echo -a $add(2, 5)
17
}
18
;Add two numbers.
19
alias add {
20
  /return $calc($1 + $2)
21
}
22
</pre>