nitlanguage
/
nit.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gamnit: print gl_MAX_TEXTURE_SIZE with other driver data
[nit.git]
/
examples
/
rosettacode
/
loops_continue.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/Continue
7
#
8
# SEE: http://rosettacode.org/wiki/Loops/Continue
9
module
loops_continue
10
11
for
i
in
[
1
.
.10
]
do
12
printn i
13
if
i
%
5
==
0
then
14
printn
"\n"
15
continue
16
end
17
printn
", "
18
end