nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added HTTP METHODS to CurlHTTPRequest
[nit.git]
/
examples
/
rosettacode
/
loops_downward_for.nit
1
#!/usr/bin/env nit
2
#
3
# This file is part of NIT ( http://www.nitlanguage.org ).
4
# This program is public domain
5
6
# Task: Loops/Downward for
7
#
8
# SEE: http://rosettacode.org/wiki/Loops/Downward_for
9
module
loops_downward_for
10
11
for
i
in
[
10
.
.0
].
step
(-
1
)
do
12
print i
13
end