repeat() multiple evaluation of N argument was obsolete
[svn/Cll1h/.git] / demos / for_range.c
... / ...
CommitLineData
1#include "cll1.h"
2
3program
4{
5 int i;
6
7 echo("for_range(i,0,1)");
8 for_range(i,0,1) printf(" [%d]",i);
9 print("");
10
11 echo("for_range(i,1,0)");
12 for_range(i,1,0) printf(" [%d]",i);
13 print("");
14
15 echo("for_range(i,1,1)");
16 for_range(i,1,1) printf(" [%d]",i);
17 print("");
18
19 echo("for_range(i,1,5)");
20 for_range(i,1,5) printf(" [%d]",i);
21 print("");
22
23 echo("for_range(i,5,1)");
24 for_range(i,5,1) printf(" [%d]",i);
25 print("");
26}
This page took 0.081274 seconds and 4 git commands to generate.