GIT.Harvie.CZ
/
svn
/
Cll1h
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some refining
[svn/Cll1h/.git]
/
demos
/
repeat.c
diff --git
a/demos/repeat.c
b/demos/repeat.c
index 53ddf6abcf079d500242698a91e8647da9199b22..db3726a31cbeb55d1986a43e50b79b5ca6057fa5 100644
(file)
--- a/
demos/repeat.c
+++ b/
demos/repeat.c
@@
-9,7
+9,7
@@
program
print("This is demonstration, that nesting of C<<1 repeat(N) { ... } flow-control macro is completely safe:");
repeat(i++)
{
print("This is demonstration, that nesting of C<<1 repeat(N) { ... } flow-control macro is completely safe:");
repeat(i++)
{
- echo("Outer loop is supposed to be
done
twice: ");
+ echo("Outer loop is supposed to be
repeated
twice: ");
repeat(i)
{
printf("[doing this %d times] ",i);
repeat(i)
{
printf("[doing this %d times] ",i);
@@
-28,5
+28,9
@@
program
}
print("... finished.");
}
}
print("... finished.");
}
- }
+ }
+ repeat(--i)
+ {
+ print("Last loop is not nested and it is supposed to be repeated again just twice.");
+ }
}
}
This page took
0.140856 seconds
and
4
git commands to generate.