$eval » History » Version 2
Per Amundsen, 02/16/2023 09:39 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$eval(text,[N])* |
||
4 | |||
5 | Evaluates the contents of text N times. |
||
6 | |||
7 | _Same as [[$]]_ |
||
8 | |||
9 | *Parameters* |
||
10 | |||
11 | 2 | Per Amundsen | table(ktable). |
12 | |*Parameter*|*Description*| |
||
13 | | text | The text to evaluate. | |
||
14 | | [N] | If N is not specified, the default is N = 1. If N is zero, text is not evaluated.. (optional) | |
||
15 | 1 | Per Amundsen | |
16 | *Example* |
||
17 | |||
18 | <pre> |
||
19 | ; Evaluate 0 times. |
||
20 | //echo -ag $eval($ $+ me, 0) |
||
21 | |||
22 | ; Evaluate 1 time. |
||
23 | //echo -ag $eval($ $+ me) |
||
24 | |||
25 | ; Evaluate 2 times. |
||
26 | //echo -ag $eval($ $+ me, 2) |
||
27 | </pre> |