TABLE OF CONTENTS


getID

NAME

::guib::keywordObj::getID -- returns the current counter ID value

USAGE

getID

DESCRIPTION

Keywords within a keywordObj object are sequentially labeled (1st item's ID==0). This method returns the current value of the counter, which equals to the number of items within a given keywordObj object.

RETURN VALUE

The current ID number.

EXAMPLE

set id [$obj getID]

SOURCE

body ::guib::keywordObj::getID {} { return $itemID }