catgets(TCLX)

catgets(TCLX)


catgets -- retrieve message from message catalog

Syntax

catgets catHandle setnum msgnum defaultstr

Description

Retrieves a message from a message catalog. catHandle should be a Tcl message catalog handle that was returned by catopen. setnum is the message set number, and msgnum is the message number. If the message catalog was not opened, or the message set or message number cannot be found, then the default string, defaultstr, is returned.

See also