|
From: Donald G P. <dg...@ni...> - 2010-03-27 00:45:20
|
Yuri wrote: > But can I pass the Tcl object with an attached C structure > (tcl_obj->internalRep.otherValuePtr) through the 'error' command to > 'catch' command? This sort of question should go to comp.lang.tcl or some similar forum. It's about "how can I work with Tcl" instead of "how should Tcl be changed" which is the topic here. That said, I think you are looking for the [throw] command. -- | Don Porter Mathematical and Computational Sciences Division | | don...@ni... Information Technology Laboratory | | http://math.nist.gov/~DPorter/ NIST | |______________________________________________________________________| |