Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Motorola System V 88k Release 3.2 Version 1.2C

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  GETITEMS(1(
F
)
F
orm and Menu Language Interpreter UtilitiG
e
E
s
)
T
ITEMS(1F) NAME getitems - returns a list of the currently marked menu items. SYNOPSIS getitems [delimiter_string] DESCRIPTION The getitems command takes a delimiter string as its only argument. It returns a list of the names (or lininfo, if it is defined) of the currently marked menu items, delimited by the argument string. If no argument is given, the default delimiter is NEWLINE. EXAMPLE This code defines a menu: Menu="Example" multiselect=TRUE done=`getitems ":" | message` name="Item 1" action=`message "You selected item 1"` name="Item 2" lininfo="This is item 2" action=`message "You selected item 2"` name="Item 3" action=`message "You selected item 3"` If all three items in this menu were marked, when he RETURN key is pressed, the following string will appear on the message line: Item 1:This is item 2:Item 3 Note that since lininfo is defined for item 2, its value is substituted for the name. Page 1 May 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026