English Reference > List Processing Commands > XSELECT

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

Reality V15.0 ()

XSELECT Command (English) (m618305+xselect.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

XSELECT

Compares the values in an active list against the item-ids of a specified file and returns a list of all item-ids in the file that are not in the list.

Syntax

XSELECT file-specifier

Syntax Elements

file-specifier specifies a file as defined in General Conventions.

Operation

 

Case Sensitivity

If the file specified has case-insensitive item-ids, the case of item-ids is ignored.

Examples

:GET-LIST TORNBOOKS
14 Items selected.
>XSELECT REPAIRED
5 Items selected.
>SAVE-LIST RTNSTACK
[241] 'RTNSTACK' Cataloged.

List RTNSTACK contains all the item-ids that are in file REPAIRED but not in list TORNBOOKS.

:AND-ITEMS CUSTOMERS OVERDUE LARGEAMT
173 Items selected.
>XSELECT CALL
111 Items selected.
>SAVE-LIST REMOVE
[241] 'REMOVE' Cataloged.

The AND-ITEMS command produces a list of all values that were in both items OVERDUE and LARGEAMT in file CUSTOMERS. The XSELECT compares this active list against the item-ids in file CALL. List REMOVE contains all the item-ids that were not in the active list.

See Also

NSELECT.

RealityV15.0Comment on this topic