active.list

Definition/General, Releases: AP and R83

A list of strings delimited by attribute marks created by one of the list-generating processes.

Description

a list of strings to be used in a subsequent process that handles items one at a time. Generally, but not always, a list contains item-ids for subsequent processing, but a list may actually contain anything. For example, the statement, 'select entity' creates a list of item-ids, while the statement, 'select entity name' creates a 'list' from the contents of each entity item's 'name' attribute.

A 'list' may be created by any of the list-generating verbs, such as 'get-list', 'select', 'sselect', etc., or by a Pick/BASIC program.

The 'end' command may be used to 'deactivate' an active list. See 'end' for more information on the 'double whammy' effect.

Example

sselect entity by name
[404] 18281 items selected out of 18281 items.
>

When this process returns to the TCL prompt, a list is 'active'. The
list may be used by any subsequent process that processes items.

sselect entity by name
[404] 18281 items selected out of 18281 items.
>save-list entity.by.name

List 'entity.by.name' in file 'pointer-file' saved.

This example creates an active list, which is immediately 'saved'.
Once a list is saved, it may be used repeatedly, until it is manually deleted.

sselect entity by name
[404] 18281 items selected out of 18281 items.
>save-list entity.by.name
List 'entity.by.name' in file 'pointer-file' saved.
get-list entity.by.name
[404] 18281 items selected out of 1 items.
>select entity with city 'newport beach'
[404] 287 items selected out of 2718281 items.

A list may also be generated from an 'active' list.

See Also

Command Name Type Description
access.select Verb: Access Creates list of items meeting specific criteria.
access.sselect Verb: Access Creates sorted list of items meeting specific criteria.
tcl.iselect Verb: Access Selects items from group using 'item' verb.
tcl.save-list Verb: Access Saves active list.
tcl.delete-list Verb: Access Deletes previously saved lists.
tcl.el Verb: Access Edits saved list using Update processor.
secondary.list Definition A list of item-id's generated by one of the list-generating processes while an active list is present.
tcl.run-list Verb: Access Runs series of programs.
up.p Command Executes the command in the prestore buffer.
access.sreformat Verb: Access Reformats data in sorted order to file or tape.
basic.execute Statement Performs TCL command expression.
tcl.verify-system Verb: Access Verifies Pick system software.
data.representation Definition two types of data: numeric and string.
basic.select Statement Creates internal active list.
tcl.save Verb: Access Invokes backup process.
tcl.rmbi Verb: Access Removes Unix built-in functions.
up.x Command Exits item or calls subroutines.
tcl.edit-list Verb: Access Edits saved list using line editor.
basic.readnext Statement Retrieves the next item-id from an active list.
tcl.get-list Verb: Access Retrieves previously saved list.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.