Build search list

20% Command group 20% Flag affected 20% Reversible 20% Execute on client 20% Platform(s)
Searches YES YES NO All

Syntax

Build search list ([Clear list])

Options

20% 80%
Clear list If specified, the command empties the current list and defines it to have a single hash variable column before executing

Description

This command builds a list containing the name of each search class in the current library. The list is built in the current list for which the columns must have been defined. The columns are

50% Column 1 (Character) 50% Column 2 (Character)
Search class name Description for search (if one has been entered)

You get column 1 only when you use the Clear list option.

The Clear list option clears the current list and redefines it to include only the #S5 field. With the Clear list option, the command is reversible. The flag is cleared if the value of LIST.$linemax prevents a complete list from being built.

Example

# build a list of the available search classes
Set current list lSearchList
Build search list (Clear list )

# or use the following notation
Do $clib.$searches.$makelist($ref.$name) Returns lSearchList