id: <% ID %> - simple
idhex: <% ID, "0x%08x" %> - HEX
idhexdef: <% ID, "HEX(0x%08x)" # "-1" %> -<
ndef: <% ndefID %>
ndef def: <% ndefID # "Wow" %>
empty <% EmptyId %>
empty def: <% EmptyId # "\"EmptyId\" - default" %>
zero <% zeroID %>
zero def: <% zeroID # "zeroID" %><# COMENT
#>
<@ IF ID @>ID-YES<@ ELSE @>ID-NO<@ ENDIF @>
<@ IF DEFINED(ID) @>DEFINED ID-YES<@ ELSE @>DEFINED ID-NO<@ ENDIF @>
<@ IF !ID @>DEFINED ID-YES<@ ELSE @>NOT ID-NO<@ ENDIF @>
<@ IF ! DEFINED (ID) @>DEFINED ID-YES<@ ELSE @>NOT DEFINED ID-NO<@ ENDIF @>
<@ IF ndefID @>ndefID-YES<@ ELSE @>ndefID-NO<@ ENDIF @>
<@ IF DEFINED (ndefID) @>DEFINED ndefID-YES<@ ELSE @>DEFINED ndefID-NO<@ ENDIF @>
<@ IF ! (ndefID) @>DEFINED ndefID-YES<@ ELSE @>NOT ndefID-NO<@ ENDIF @>
<@ IF ! DEFINED (ndefID) @>DEFINED ndefID-YES<@ ELSE @>NOT DEFINED ndefID-NO<@ ENDIF @>
<@ IF EmptyId @>EmptyId-YES<@ ELSE @>EmptyId-NO<@ ENDIF @>
<@ IF DEFINED (EmptyId) @>DEFINED EmptyId-YES<@ ELSE @>DEFINED EmptyId-NO<@ ENDIF @>
<@ IF ! EmptyId @>DEFINED EmptyId-YES<@ ELSE @>NOT EmptyId-NO<@ ENDIF @>
<@ IF ! DEFINED (EmptyId) @>DEFINED EmptyId-YES<@ ELSE @>NOT DEFINED EmptyId-NO<@ ENDIF @>
<@ IF zeroID @>zeroID-YES<@ ELSE @>zeroID-NO<@ ENDIF @>
<@ IF DEFINED (zeroID) @>DEFINED zeroID-YES<@ ELSE @>DEFINED zeroID-NO<@ ENDIF @>
<@ IF ! zeroID @>DEFINED zeroID-YES<@ ELSE @>NOT zeroID-NO<@ ENDIF @>
<@ IF ! DEFINED(zeroID) @>DEFINED zeroID-YES<@ ELSE @>NOT DEFINED zeroID-NO<@ ENDIF @>
id*2 <% ID * 2 %>
id+2 <% ID + 2 %>
(id+2)*2 <% (ID + 2)*2 %>
id+2*2 <% ID + 2*2 %>
id*2+2 <% ID * 2+2 %>
id*3+zeroID <% ID * 2+zeroID %>
length(str) <% length (str) %>
length(str) > 3: <% length(str) > 3 %>
<@ if length(str) < 10 && id > 16 @>HEH-1<@ endif @>
CallCounter: <% CallCounter() %>
str ? "yes" : -1 = <% str ? "yes" : -1 %>
<@ IF ID @>
<@ IF DEFINED(zeroID) @>
ID!=0 && defined(zeroID) - right
<@ ELSE @>
ID!=0 && !defined(zeroID)
<@endif@>
<@ELSE@>
<@ IF DEFINED (zeroID) @>
ID==0 && defined(zeroID)
<@ ELSE @>
ID==0 && && !defined(zeroID)
<@ENDIF@>
<@ENDIF@>
<@ LOOP outerLoop @>
<% __COUNTER %>/<% __SIZE %>. odd:<% __ODD %> even:<% __EVEN %>
<& data/template_include.tmpl &>
<@ LOOP innerLoop @>
<@ IF __FIRST @><@ ENDIF @>
- <% camenty %>
<@ IF __LAST @>
<@ ENDIF @>
<@ ENDLOOP @>
<@ ENDLOOP @>
<@ LOOP selfLoop@>
<@if __FIRST @>- level: <% __LEVEL %><@endif@>
- <% __COUNTER %> <% NODE %>#<% CNT %> ID:<% ^id %>
<@ SELF @>
<@ LOOP oneloop@><@if __FIRST @>
<@endif@>- <% __COUNTER %> oneloop:<% NODE %>#<% CNT %> ID:<% ^id %><@if __LAST @>
<@endif@><@ ENDLOOP @>
<@if __LAST @>
<@endif@>
<@ ENDLOOP @>
<@ IF id == 17 @>
17
<@ else if id ==23 @>
23
<@ else @>
unknown;
<@endif@>