Adds or modifies a string in the currently active dialog box list
(add_list string)
add_list, you must open the list and initialize it with a call to start_list. Depending on the operation specified in start_list, the string is either added to the current list or replaces the current list item.
Before usingArguments
A string.
Return Values
nil.
Returns the string added to the list, if successful; otherwiseExamples
popup_list or list_box with a key of longlist, the following code fragment initializes the list and adds to it the text strings in llist.
Assuming the currently active DCL file has a(setq llist '("first line" "second line" "third line"))
(start_list "longlist")
(mapcar 'add_list llist)
(end_list)
"2nd line".
After the list has been defined, the following code fragment changes the text in the second line to(start_list "longlist" 1 0)
(add_list "2nd line")
(end_list)
start_list and end_list functions.
The