OR-LISTS

Returns a list comprising one copy of any value contained in any of two or more lists, that is, the union of the lists.

Syntax

OR-LISTS list-name list-name {list-name}...

Syntax Elements

list-name is the name of a saved list.

Examples

:OR-LISTS OVERDUE LARGEAMT
429 Items selected.
>SAVE-LIST PHONECALL
[241] 'PHONECALL' Cataloged.

All values that were in either list OVERDUE or LARGEAMT are now in list PHONECALL.

:OR-LISTS SMKR DRNK OVFF OVWT
7899 Items selected.
>SAVE-LIST ATRSK
[241] 'ATRSK' Cataloged.

The list in ATRSK contains one copy of all values that were in any list referenced in the OR-LISTS command.

Go to top button