TABLE OF CONTENTS


textvalueToValue

NAME

::guib::moduleObj::textvalueToValue -- map value to textvalue

USAGE

textvalueToValue varIdent textvalue

DESCRIPTION

This method maps from textvalue to value. Some variable might have two sets of values: (i) human-readable (i.e. textvalue), which can be mapped in combobox for user-friendliness and (ii) computer readable code or digit (i.e. value). This routine is one of the two routines that maps between the value and textvalue. See also valueToTextvalue method.

ARGUMENTS

varIdent -- the GUIB-variable's identifier textvalue -- the textvalue of the varIdent's variable

RETURN VALUE

Returns the mapped corresponding value on the basis of textvalue.

EXAMPLE

$obj textvalueToValue $varIdent $textvalue