Function CDM_ReportError


Definition:#include <CDM.h>
Prototype:int CDM_ReportError(const char *, arg1);
Arguments:

format: The format string (char *)
arg1: Other arguments (as described by format)

C/C++ API Sections
Tcl API Sections
Description
Return Value
Notes
See Also
Index

Description:

This function will set the given string as an error to the current Tcl interpreter (stored in the variable CDM_Interp). If the variable "CDM_DisplayErrorMessage" is true (has a value != 0), this function will also try to display a an error dialog, reporting also the error in a graphical way.

Return Value:

This function always returns TCL_ERROR.

Notes:

Note that this function will also display an error dialog, if "CDM_DisplayErrorMessage" is true.

See Also:

Tcl_SetResult


Generated by: petasis@aias on Wed Aug 16 10:31:57 PM EEST 2006.