#6 feature fuly implemented
[svn/Cll1h/.git] / demos / repeat.c
index 53ddf6abcf079d500242698a91e8647da9199b22..491b74ddde05917cc6ed7b776aa41ba72f094eb7 100644 (file)
@@ -9,7 +9,7 @@ program
   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("This loop is supposed to be repeated twice: ");
    repeat(i)
    {
     printf("[doing this %d times] ",i);
@@ -28,5 +28,9 @@ program
    }
    print("... finished.");
   }
- }
+ } 
+ repeat(--i)
+ {
+  print("This loop is not nested and it is supposed to be repeated again just twice.");
+ } 
 }
This page took 0.098151 seconds and 4 git commands to generate.