another major rewrite - define_ -> def_, etc. (and it will get worse !)
[svn/Cll1h/.git] / demos / for_ints_strs.c
CommitLineData
f5725936 1#include "cll1.h"
2
3program
4{
5 int i;
6 char *s;
7
25a3f430 8 echo("for_ints(i in(8,1,2,745,32,64,27,4) ): ");
9 for_ints(i, 8,1,2,745,32,64,27,4 ) printf(" [%d]",i);
f5725936 10 print("");
11
25a3f430 12 echo("for_strs(s in( \"aasd\",\"snres\",\"sdfrm\",\"ojffgt\",\"wweqwe\" )): ");
13 for_strs(s, "aasd","snres","sdfrm","ojffgt","wweqwe" ) echo(" [",s,"]");
f5725936 14 print("");
15}
This page took 0.120949 seconds and 4 git commands to generate.