performance test - write, fwrite and cll1 single arugment echo added
[svn/Cll1h/.git] / demos / advanced-hello-world.c
index 1212211d5f2378680cb28b482e43668bc3fcffc0..32a2be3a5386af6b905de4e968efeb92d7c1b5ab 100644 (file)
@@ -2,6 +2,27 @@
 
 program
 {
- echo("Hello ",NULL,"world","  ! ");
- print("Hello","world",NULL,"!");
+ print("* echo()");
+ echo("Hello"," ","world","  !\n");
+ print("* print()");
+ print("Hello","world","!");
+ print("* NIL");
+ print("We can print",NULL,"safely.");
+ NIL="(anything)";
+ print("We can print",NULL,"safely.");
+ print("* coalesce():"); 
+ print("We can",coalesce("print","everything"),coalesce(NULL,"everything"),"safely."); 
+ print("* OFS");
+ OFS="";
+ EOL="";
+ print("We","Can","Print","Without","Spaces","BetweenArgs.");
+ OFS=":";
+ print("We","can","customize","print.");
+ OFS="...";
+ EOL="<--\n";
+ print("");
+ print("* MAYBE ?");
+ repeat(4) print((MAYBE ? "Hello" : "Hi"), (MAYBE ? "world" : "friend"), (MAYBE ? "!" : "?"));
+ print("* WHOKNOWS ?");
+ repeat(4) print((WHOKNOWS ? "Hello" : "Hi"), (WHOKNOWS ? "world" : "friend"), (WHOKNOWS ? "!" : "?"));
 }
This page took 0.113649 seconds and 4 git commands to generate.