Recess At Last — 10 of 73

Gerald Aungst

Release 1

exits

When play begins:

change left hand status line to "Exits: [exit list]";

change right hand status line to "[location]".

To say exit list:

let place be location;

repeat with way running through directions:

let place be the room way from the location;

if place is a room, say " [way]".

[We may find that printing out full directions makes the status line unpleasantly crowded. Fortunately, it isn't hard to provide a set of abbreviations to use in this context:]

Rule for printing the name of a direction (called the way) while constructing the status line:

choose row with a heading of the way in the Table of Abbreviation;

say "[shortcut entry]".

Table of Abbreviation

headingshortcut
north"N"
northeast"NE"
northwest"NW"
east"E"
southeast"SE"
south"S"
southwest"SW"
west"W"
up"U"
down"D"
inside"IN"
outside"OUT"