From: Maurice L. <mj...@ga...> - 2002-12-23 05:59:49
|
Alan W. Irwin writes: > On Sat, 30 Nov 2002, Maurice LeBrun wrote: > > > If the extended search fails PlbasicInit() returns TCL_ERROR, which: (a) is > > all the info you really need since you have a stack trace to find where the > > error occured > > I have seen the stack trace put out by plframe for other errors, and that > was most useful, but in the tcl-only situation with no tk driver or plframe > is there another way to get at it? I was floundering around yesterday > because I didn't know how to get a stack trace for the tcl-only situation. Sorry I never got back to you on this one. Sheesh, have I ever been busy since you posed it three weeks ago. Anyway, the simple answer is: "puts $errorInfo". See "man n error" for more info. We could probably improve the Tcl error handling (not to mention many other areas of Tcl support) in plplot. I didn't get to do as much with this over the last year as I wanted but am still hoping.. -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |