Project

General

Profile

$eval » History » Version 1

Per Amundsen, 08/12/2015 08:41 AM

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
text - The text to evaluate.
12
[N] - If N is not specified, the default is N = 1. If N is zero, text is not evaluated.. (optional)
13
14
*Example*
15
16
<pre>
17
; Evaluate 0 times.
18
//echo -ag $eval($ $+ me, 0)
19
20
; Evaluate 1 time.
21
//echo -ag $eval($ $+ me)
22
23
; Evaluate 2 times.
24
//echo -ag $eval($ $+ me, 2)
25
</pre>