program
{
- repeat(2)
+ int i=2;
+
+ repeat(1)
{
- print("Tohle cele delam 2x:");
- repeat(3) print("Tohle delam 3x...");
+ 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: ");
+ repeat(i)
+ {
+ printf("[doing this %d times] ",i);
+ }
+ print("... finished.");
+ }
}
}