next up gif contents index
Next: Matrix specification Up: Quick Reference Guide Previous: Actions:

Selections:

Selections force spock commands to apply to only a subset of atoms or vertices. Unlike some graphics packages, spock selections apply only to the current command; they are not persistent. In the descriptions below, RANGE indicates an inclusive range, e.g. rn=(1,10), where all items in the inclusive range are selected. LIST indicates listed entries, e.g. rn=[2,4,5,9], where only the items in the list are selected. Finally, NUMBER indicates a single value, e.g. rn=5, where only items matching that number are selected.

The following relationships may be used in a selection string: ``='' (equals), ``<>'' (not equals), ``>'' (greater than), ``<'' (less than), ``>= or =>'' (greater than or equals) and ``<= or =<'' (less than or equals). These relationships may be applied to NUMBERS. For RANGEs and LISTs only ``='' and ``<>'' are valid, e.g. rn<>[1,2,3],an=(1,2). Finally, for strings, only the ``='' and ``<>'' relations are valid.


next up gif contents index
Next: Matrix specification Up: Quick Reference Guide Previous: Actions:

Jon Christopher
Tue Sep 14 16:44:48 CDT 1999