For example, if you want a script to use queries but preserve the current selection set, you can push the current selection set onto the selection set stack, execute a query, and then pop the selection set stack to restore the selection set.
The select command supports the following subcommands: