If an error occurs during a ToolTalk function that returns an integer, the return value is out-of-bounds. The tt_int_error function returns a status of TT_OK
if the value is not out-of-bounds.
To check if a value is out-of-bounds, you can use the tt_is_err macro to determine if an error or a warning occurred.
To retrieve the character string for a Tt_status code, you can use tt_status_message.
Example 14-3 checks a returned integer.