Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: glm
See also: glmfit doglm

Quantlet: select0item
Description: select0item is an item selector for glm. It allows exactly at most one item to be selected.

Usage: no=select0item(stitle,sitems,atitle)
Input:
stitle menu title.
sitems menu items.
atitle optional, an alternative menu title if an error (more than 1 selection) occurred.
Output:
no number of selected item. 0 for no selection.

Example:
library("glm")
stitle="make your choice  or  press OK"
sitems="1"|"2"|"3"
atitle="make ONE choice"
no=select0item(stitle,sitems,atitle)
no

Result:
Your chosen number or 0 if you just pressed OK.



Author: M. Mueller, 20010228
(C) MD*TECH Method and Data Technologies, 05.02.2006