tcl.sort-list

Verb: Access/TCL, Releases: AP

Retrieves, sorts and rewrites previously saved list.

Syntax

sort-list {dict|data} {file.reference} {list.name}

Description

retrieves a previously saved list, sorts it, then rewrites it to the file from which it was retrieved.

If the 'file.reference' is omitted, the process defaults to 'pointer-file'.

If the 'list.name' is omitted, the 'default' list name of '%user-id' (percent sign followed by user-id) is used.

Example

sort-list dict customers delinquent

This sorts the list of strings in the item 'delinquent', found in the
dictionary of the 'customers' file, then writes it back to item
'delinquent' in the dictionary of the 'customers' file.

sort-list backorders

This sorts the list, 'backorders', found in the
'pointer-file'.

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.save-list Verb: Access Saves active list.
tcl.el Verb: Access Edits saved list using Update processor.
tcl.delete-list Verb: Access Deletes previously saved lists.
tcl.copy-list Verb: Access Copies previously saved lists.
tcl.edit-list Verb: Access Edits saved list using line editor.
tcl.get-list Verb: Access Retrieves previously saved list.
tcl.fl Verb: Access Forms single list from two lists.
tcl.compare-list Verb: Access Compares two lists for intersections.

User Comments

What do you think?

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

Login to leave your comments.