X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fadvanced-hello-world.c;h=124788a5f180d5cb9a86f637898fe31d91a900a3;hb=49df11dfb79a408ff31ebadd42c16cd5d71d6a7f;hp=32a2be3a5386af6b905de4e968efeb92d7c1b5ab;hpb=06ab91f038972610338e77f4f488c7ef5c132e69;p=svn%2FCll1h%2F.git diff --git a/demos/advanced-hello-world.c b/demos/advanced-hello-world.c index 32a2be3..124788a 100644 --- a/demos/advanced-hello-world.c +++ b/demos/advanced-hello-world.c @@ -7,11 +7,18 @@ program 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("We can print", NULL, "safely."); + NIL="(hic sunt crocodiles)"; + print("We can print", NULL, "safely."); + + { + str p = "print", a = NULL; + print("* coalesce():"); + print("We can", coalesce(p, "everything"), "almost", coalesce(a, "anything"), "safely."); + } + + echo("Surprisingly ->",NIL," (you can't see this)"); + print("<- nothing special here."); print("* OFS"); OFS=""; EOL="";