X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=demos%2Fadvanced-hello-world.c;fp=demos%2Fadvanced-hello-world.c;h=124788a5f180d5cb9a86f637898fe31d91a900a3;hb=eeff2724ab61172d037fbba78785a25d691b6ad1;hp=a5475ba5efc3e313d4cf3b51913c0d3210766bf8;hpb=bd69f0f0801fc5f1ac360a45fb89051fb0c1aaf8;p=svn%2FCll1h%2F.git diff --git a/demos/advanced-hello-world.c b/demos/advanced-hello-world.c index a5475ba..124788a 100644 --- a/demos/advanced-hello-world.c +++ b/demos/advanced-hello-world.c @@ -7,11 +7,16 @@ program print("* print()"); print("Hello","world","!"); print("* NIL"); - print("We can print",NULL,"safely."); + print("We can print", NULL, "safely."); NIL="(hic sunt crocodiles)"; - print("We can print",NULL,"safely."); - print("* coalesce():"); - print("We can",coalesce("print","everything"),"almost",coalesce(NULL,"anything"),"safely."); + 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");