Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (6561 KB)
getitems(1F)Name | Synopsis | Description | Examples | Notes | Attributes | See Also Name
Synopsisgetitems [delimiter_string] DescriptionThe getitems function returns the value of lininfo if defined, else it returns the value of the name descriptor, for all currently marked menu items. Each value in the list is delimited by delimiter_string. The default value of delimiter_string is newline. ExamplesExample 1 A sample output of getitems command.The done descriptor in the following menu definition file executes getitems when the user presses ENTER (note that the menu is multiselect):
If a user marked all three items in this menu, pressing ENTER would cause the following string to be displayed on the message line:
NotesBecause lininfo is defined for the second menu item, its value is displayed instead of the value of the name descriptor. AttributesSee attributes(5) for descriptions of the following attributes:
See AlsoSunOS 5.10 Last Revised 5 Jul 1990Name | Synopsis | Description | Examples | Notes | Attributes | See Also |
||||||