|
- Description:
- This method can be used to execute Tcl code. This function calls the Tcl_Eval function from the Tcl C library. The string should be a proper UTF-8 string. The string is parsed and executed directly instead of compiling it and executing the bytecodes.
- Arguments:
tcl_code: A NULL terminated UTF-8 string.
- Returns:
- The return value from this method is a Tcl completion code (with one of the values OCDM_OK, OCDM_ERROR, OCDM_RETURN, OCDM_BREAK, or OCDM_CONTINUE, or possibly some other integer value originating in an extension. In case of an error, an OCDM_Exception is thrown.
|