LIST |
|
| Top Previous Next | |
Syntax:
LIST <command>, <list>, <parameters>
Description:
The LIST command is used to create, manipulate and dispose of string lists. DialogScript allows you to have up to 32 discrete string lists (currently 32) each identified by a number. Liist dialog elements that appear in a dialog window can also be treated as string lists.
The parameter <list> must be either a list number or the name of the list dialog element to which the command will apply. You can use the function @NEW(LIST) to create a new string list and assign its identifier to a variable which can be used for the parameter <list>.
Lists can contain any number of strings. A list can either be sorted, or will retain the order in which the information was entered.
For information on commands to create, modify, save and dispose of string lists see Using Lists.
For information on commands that can load string lists with data see Data Lists.
OK:
Set to false if the command fails.
Example:
LIST CREATE,1, SORTED
LIST ADD,1, Fred Jones
LIST ADD,1, John Smith
See a more advanced example...
See also: