Add a bunch of autogenerated index entries.
[ibg.git] / chapters / 04.rst
index 51454ab03789013076bbef43215268f9245c1796..46e18588350b7648d997a0dbe8f443f8896765e9 100644 (file)
@@ -68,6 +68,10 @@ but you can change it at any time.  For example, we used the statement::
 
      location = before_cottage;
 
+.. Generated by autoindex
+.. index::
+   pair: location; library variable
+
 to reset the value of the :var:`location` variable to the 
 ``before_cottage`` object, and we wrote::
 
@@ -435,6 +439,10 @@ into individual words, which it then looks up in the dictionary.  If it
 finds all the words, and they seem to represent a sensible course of
 action, that's what happens next.
 
+.. Generated by autoindex
+.. index::
+   pair: name; library property
+
 So far, we've seen dictionary words used as the values of an object
 :prop:`name` property::
 
@@ -487,6 +495,10 @@ interpreter executes that statement: it performs an assignment::
 
     deadflag = 2;
 
+.. Generated by autoindex
+.. index::
+   pair: deadflag; library variable
+
 which changes the value of the library variable :var:`deadflag` from its 
 current value to 2.  Incidentally, ``if`` statements are often written 
 on two lines, with the "controlled" statement indented.  This makes it