repo.or.cz
/
castle.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Applied patch from Jan Limpens 'ReflectionBasedDictionaryAdapter needs to check if...
[castle.git]
/
Tools
/
NVelocity
/
test
/
templates
/
VM_global_library.vm
blob
5089cbc941146cbf51070ee3dd83e9bbc0b06ccc
1
#macro( quietnull $a)
2
#if($a)$a#end
3
#end
4
5
#macro( recurse $a )
6
global recurse $a
7
#set( $a = $a - 1)
8
#if ($a > 0)
9
#recurse( $a )
10
#end
11
#end
12
13
#macro( callrecurse )
14
#set( $count = 5)
15
#recurse( $count )
16
#end
17
18
#macro( testbool $b )
19
#if($b)
20
arg true
21
#end
22
#if( ! $b )
23
arg false
24
#end
25
#end
26
27