aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/define.html
blob: aec5c010fd3cb7916970e7a48c6484086db3d319 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!-- DEFINE $VALUE = 'xyz' -->

{$VALUE}

<!-- DEFINE $VALUE = 'abc' -->

{$VALUE}

<!-- UNDEFINE $VALUE -->

{$VALUE}

<!-- DEFINE $VALUE -->

<!-- BEGIN loop -->
<!-- DEFINE loop.$VALUE = loop.S_ROW_NUM -->
{loop.$VALUE}
<!-- UNDEFINE $VALUE -->
{loop.$VALUE}
<!-- UNDEFINE loop.$VALUE -->
{loop.$VALUE}

<!-- END loop -->

<!-- BEGIN test -->
	<!-- BEGIN deep -->
		<!-- BEGIN defines -->
<!-- DEFINE test.deep.defines.$VALUE = 12 * 12 -->

{test.deep.defines.$VALUE}

<!-- UNDEFINE $VALUE -->

{test.deep.defines.$VALUE}

<!-- UNDEFINE test.deep.defines.$VALUE -->

{test.deep.defines.$VALUE}
		<!-- END defines -->
	<!-- END deep -->
<!-- END test -->