TABLE OF CONTENTS


getIdFromVarname

NAME

::guib::keywordObj::getIdFromVarname -- returns the ID of a keyword which contain the specified variable

USAGE

getIdFromVarname varName

DESCRIPTION

The method returns the ID of a keyword which contain the specified variable, that is, the value of the keywords -variable option.

RETURN VALUE

Returns the ID of a keyword which contain the specified variable or -1 if the variable is not found.

EXAMPLE

set id [$obj getIdFromVarname varName]