Project

General

Profile

Return » History » Version 2

Per Amundsen, 02/16/2023 03:07 PM

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 2 Per Amundsen
table(ktable).
10
|*Parameter*|*Description*|
11
| [text] | Text to return. |
12 1 Per Amundsen
13
*Example*
14
15
<pre>
16
alias example {
17
  ;Return the addition of two values.
18
  /echo -a $add(2, 5)
19
}
20
;Add two numbers.
21
alias add {
22
  /return $calc($1 + $2)
23
}
24
</pre>