X-Git-Url: https://jxself.org/git/?p=ibg.git;a=blobdiff_plain;f=chapters%2F07.rst;h=8289c383763986d67a96bc34a7a74e5c213eb22f;hp=521fa7c3210f52bed913abaf78f2fe30604e3d6e;hb=f9eb50b5024de49b2df4b5daab471731840195d3;hpb=b387dfc43dfc85d7ff0324e27b15ba8be6b91f0c diff --git a/chapters/07.rst b/chapters/07.rst index 521fa7c..8289c38 100644 --- a/chapters/07.rst +++ b/chapters/07.rst @@ -2,7 +2,7 @@ William Tell: the early years =============================== -.. highlight:: inform6 +.. highlight:: inform .. epigraph:: @@ -619,7 +619,7 @@ we *could* write two ``if`` statements:: enough. How's Frau Tell? Give her my best wishes.~^"; but that's unbearably clumsy; instead, we use the braces to group the -``move`` and ``print`` statement into a **statement block** (sometimes +``move`` and ``print`` statement into a :term:`statement block` (sometimes known as a code block) which counts as a single statement for the purposes of control by the ``if`` statement. :: @@ -644,7 +644,7 @@ all of them loop statements that we don't encounter in this guide). if (condition) { statement; statement; - ! ... + ... } but other designers have their own preferences, including:: @@ -652,20 +652,20 @@ all of them loop statements that we don't encounter in this guide). if (condition) { statement; statement; - ! ... + ... } if (condition) { statement; statement; - ! ... + ... } if (condition) { statement; statement; - ! ... + ... } Although we've not yet needed to use it, now would probably be a good time