tcl.sort-list
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
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
