secondary list

secondary list


scrubber Index Level security
Syntax
Category Definitions
Type Definition
Description created using the "s" option with the "select" or "sselect" command. Its sole purpose and only real use is during compares and copies.  

An example use of a "secondary" list is as follows:

1) Create the primary list.
2) Create the secondary list (using the "s" option).
3) Invoke the "copy" or "compare" command.
4) When the system prompts "to:", enter the filename, (preceded by a left parenthesis). The secondary list takes over and is used for output and comparison ids.

A secondary list may be created to use as the "target" for a list of item-id's in the "source" or "active" list.

The "end" command may be used to "deactivate" an active or secondary list. See "end" for more information on the "double whammy" effect.
Options
See Also delete-list el get-list sselect select active list edit-list READNEXT nselect copy-list primary list save-list end fl compare-list SELECT
Example The following commands compare two files containing FlashBASIC program source.

sselect bp by mod.date
[404] 75 items selected out of 75 items.
sselect old.bp with mod.date (s
[404] 75 items selected out of 75 items.
compare bp
with:(oldbp

This program copies items in the entity file to a work file using the "item-id"s kept in the list, "targets".

sselect entity by zip
[404] 1600 items selected out of 1600 items.
gl targets (s
[404] 1600 items selected.
copy entity
to:(work
Warnings Once a list is "active", the next command issued at TCL must be a valid list-processing command, otherwise the list will vanish.

For example:

sselect entity by name
[404] 2718281 items selected out of 2718281 items.
time
06:44:22  19 Jan 1997  Sunday

The list generated by the "sselect" command is no longer active.
Compatibility D3 7.0 AP
scrubber Index Level security