DIFF-LIST

Man Page Index


Creates a list from two stored lists. The new list contains all the items in the first list less any like items from the second list.

 

SYNTAX

DIFF-LIST {DICT} File1 List1 TO {TargetList}
Less: {({DICT} File2} List2

 

SYNTAX ELEMENTS

List1 and List2 are the names of stored lists.

File1 and File2 represent the files in which the lists are stored. If File2 is not specified then List2 is assumed to be in File1.

TargetList is the name of the resultant list. If it is not specified then an active list is created otherwise it is written to file defined to hold stored lists.

 

EXAMPLE

File PROFILES holds the items LISTA and LISTB:

LISTA

LISTB

Jennifer

Michelle

Carrie

Sheila

Michelle

Mary

Renee

Carrie

Maryanne

Cindy

The command:

DIFF-LIST PROFILES LISTA TO LISTV
Less:LISTB

generates a stored list called LISTV that contains the elements Jennifer, Renee, Maryanne and Cindy.

 

The command:

DIFF-LIST PROFILES LISTB
Less:(PROFILES LISTA

generates an active list that contains the elements Sheila and Mary.


LIST