Build search list

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

Syntax

Build search list ([Clear list])

Options

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

Column 1 (Character) 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