fl Command

The fl BASIC program forms a single list from two lists using intersection, union, or exclusion operators.

Syntax

fl file.reference1 list1 {operators} {file.reference2} {list2}

fl ?

Parameter(s)

list1

First list.

list2

Second list.

operators

=

Indicates an intersection. Forms list of matching items.

+

Indicates a union. Forms list of nonduplicate items.

-

Indicates an exclusion. Forms list of items not in list 2.

?

Displays help text on the screen.

If file reference 2 is not specified, it is assumed to be the same as file reference 1. If list 2 is not specified, it is assumed to be the same as list 1. If neither file reference 2 nor list 2 are specified, the effect is the same as a get-list. The created list overlays list 1 in file reference 1.

Example(s)

fl pointer-file football.fans + baseball.fans

Creates a list of all sports fans from both lists.

fl pointer-file football.fans = baseball.fans

Creates a list of those who enjoy both sports.

fl pointer-file football.fans - baseball.fans

Creates a list of those who like football only.

See Also

Active List

compare-list Command

copy-list Command

delete-list Command

edit-list Command

get-list Command

nselect Command

readnext Statement

save-list Command

Secondary List

sort-list Command