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
/
foreach-introspect.vm
blob
7ffda4a7d1d1fc4284beae6dba7331d6292fd6f7
1
##
2
## tests a difficult introspection problem -
3
## the iterator is a private inner class
4
##
5
6
#set($array = [1..10])
7
#set($it = $array.GetEnumerator())
8
9
#foreach($num in [21..30])
10
#set ($moved = $it.MoveNext())
11
$num $it.Current
12
#end
13
14