7117279b1ba688498733f03a5041103066b38655
[svn/Cll1h/.git] / demos / advanced-hello-world.c
1 #include "cll1.h"
2
3 program
4 {
5 print("* echo()");
6 echo("Hello"," ","world"," !\n");
7 print("* print()");
8 print("Hello","world","!");
9 print("* MAYBE ?");
10 repeat(4) print((MAYBE ? "Hello" : "Hi"), (MAYBE ? "world" : "friend"), (MAYBE ? "!" : "?"));
11 print("* WHOKNOWS ?");
12 repeat(4) print((WHOKNOWS ? "Hello" : "Hi"), (WHOKNOWS ? "world" : "friend"), (WHOKNOWS ? "!" : "?"));
13 print("* NIL");
14 print("We can print",NULL,"safely.");
15 print("* coalesce():");
16 print("We can",coalesce("print","anything"),coalesce(NULL,"anything"),"safely.");
17 print("* OFS");
18 OFS=":";
19 print("We","can","customize","print");
20 }
This page took 0.255557 seconds and 3 git commands to generate.