![]() | Chapter 13: Relations | ![]() ![]() |
13.7. Relations in groups |
Finally, there is a kind of relation which binds even more strongly.
Nationality relates people to each other in groups.
This is a kind of relation which divides people up: we might wish to have all the Icelandic people related to each other, all the Peruvians to each other, and so on. If there were a Pacific island called Informia with one inhabitant, then that person would be related only to himself. As time goes by, we could imagine people emigrating, and so on, so that these groupings would switch: perhaps everyone would leave Belgium and, for a while, there would be no Belgian nationals at all.
![]() | The testing command RELATIONS prints out the current state of all the relations created in the source code. For instance:
>relations
That can produce a lot of output. To see only a single relation, or to see it at some intermediate point in a calculation, there's also a testing phrase:
show relation (relation of values to values)
But this is a phrase - not a typed command.
|
| ![]() A machine that turns objects into other, similar objects. |
|
| ![]() ![]() ![]() A kind of rope which can be tied to objects and used to anchor the player or drag items from room to room. |
|
Previous | Contents | Next |