Sets
Terminals may define the concept of a "set" of objects. There are up to 200 different sets, each of which can contain arbitrarily many objects. At any time, one set is selected; objects drawn become part of that set, and objects erased are removed from it. Objects in a set other than the selected one cannot be erased without switching to the sets that contain them. A set can be made temporarily invisible, as a whole, without being erased or its contents forgotten; and it can then be made instantly visible again. Also, a whole set can be moved. A set has at all times a point identified as its "center", and all objects in it are actually remembered relative to that center, which can be moved arbitrarily, thus moving all the objects in the set at once. Before beginning to use a set, therefore, one should "move" its center to some absolute location. Set center motion can easily cause objects in the set to move off screen. When this happens, it does not matter what happens temporarily to those objects, but their "positions" must not be forgotten, so that undoing the set center motion will restore them to visibility in their previous positions. Sets are not easily implemented on bit matrix terminals, which should therefore ignore all set operations (except, for a degenerate interpretation in connection with blinking, if that is implemented). The %TQSET bit in the SMARTS variable of the terminal indicates that the terminal implements multiple sets of objects.
On a terminal which supports multiple sets, the %GOCLR command should empty all sets and mark all sets "visible" (perform a %GOVIS on each one). So should a %TDCLR SUPDUP command. Thus, any program which starts by clearing the screen will not have to worry about initializing the states of all sets.