7 echo("Just plain vanilla auto-increment:\tfor_range(i,1,5)");
14 echo("Single-evaluation of macro argument:\tj=1; for_range(i,0,j++)");
21 echo("Just plain vanilla auto-decrement:\tfor_range(i,1,0)");
28 echo("Single iteration is possible too:\tfor_range(i,1,1)");
35 echo("Yet another example of macro safety:\tj=2; for_range(i,5,--j)");
42 echo("Nesting of this macro seems to be safe:\tfor_range(i,1,3) for_range(j,3,1)");
47 printf(" [%d,%d]",i
,j
);
This page took 0.265542 seconds and 4 git commands to generate.