| Chapter 14: Units |

| 14.5. Superlatives

Lastly, if we define an adjective in this calibrating way, we also automatically benefit from the use of the superlative form. That is, if we define

> Definition: A container is large if its carrying capacity is 10 or more.
> Definition: A container is small if its carrying capacity is 5 or less.

then we can talk about things like this:

> the largest container
> the smallest open container

Though we should be careful, in the second case, because we might get nothing: maybe all the containers are closed at the moment this is used. And in general there might be several equally large largest containers, in which case we should not rely on getting any particular one of those rather than another.

Note that Inform constructs comparatives and superlatives by a pretty simplistic system. If we want to use these forms for an adjective expressing the relatively large size of a room, we had better go with "roomy" (roomier, roomiest) - not "spacious" (spaciouser, spaciousest).

Previous | Contents | Next