$result » History » Version 1
Per Amundsen, 08/11/2015 05:56 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$result* |
||
4 | |||
5 | Stores the number value returned to a calling routine by the [[/return]] command. |
||
6 | |||
7 | *Example* |
||
8 | |||
9 | <pre> |
||
10 | ; Create a alias |
||
11 | alias Example2 { |
||
12 | return Hello World |
||
13 | } |
||
14 | |||
15 | ; Create another alias |
||
16 | alias Example { |
||
17 | noop $Example2 |
||
18 | echo -ag The return text for Example2 was $result |
||
19 | } |
||
20 | </pre> |