Arbortext Command Language > Functions by Alphabetical Listing > list_response
  
list_response
list_response (arr[, title[, label[, default[, verify[, help]]]]])
This function displays a scrolling list dialog panel and returns the user's response. The null string is returned if the user selected Cancel or dismissed the panel without selecting anything. The array of choices is specified by the argument arr, which must be the name of a normal array. That is, the choices are obtained from:
arr[1]..arr[count(arr)]
The remaining arguments may all be expressions and are optional:
title specifies the window manager title for the panel.
label specifies the label displayed at the top of the scrolling list panel.
default gives the default choice and is displayed in the input field; if not specified, there is no default.
If verify is non-zero or not specified, then the user's response is restricted to the array of choices.
help is the text displayed if the user presses the Help button on the panel. If not specified, then the Help button is insensitive.
Related Topics
readvar command
response function