我查看了writef()
任何bool
说明符的文档,但似乎没有。
在教堂计划中,我有: ...
config const verify = false;
/* that works but I want to use writef() to also print a bunch of other stuff*/
writeln("verify = " + verify);
writef("verify = %<what-specifier-goes-here>\n", verify);
最后一条语句可以正常工作。
// I guess I could do:
writef( "verify = %s\n",if verify then "true" else "false");