Name

selection — Set of objects selected in the user interface

Synopsis

selection

Description

selection is a set expression that returns a set of objects specified in the user interface. Typically, these will be items selected from the result list of a previously evaluated expression.

If you reuse a set expression (from the history list in the UI, or with previous for example) please note that selection is evaluated anew with the current UI selection each time an expression is run, and the current selection in the UI will be lost each time an expression is run. If you want to preserve the result of selection for use in future queries, you should save it by value using the set and execute operators.

            		set XS to execute selection
            	

Then XS will hold the same value until changed or removed.

Type

The type of selection is compatible with the type of the objects selected; if all of the selected objects have the same type, it will be that type.

browse-by-query home antlersoft free software sourceforge project page