From: Donald G P. <dg...@ni...> - 2007-02-26 19:09:16
|
Andreas Kupries wrote: > Only the moment you start running code from a file, either > implicitly sourced by the tclsh, or explicitly in your C code, or you do an > 'eval' at C level, will you have a context in which you can count lines, and > which has a type. I was under the impression that a call to Tcl_EvalObjv() counted as "an 'eval' at C level". If that's my error, some additional docs on the point should be enough. > I am not sure if putting in a fake context for this situation will help > much. What do you think the type of that context should be ? I was expecting to see the same result as if my code did Tcl_Eval(interp, "info frame 0"); -- | Don Porter Mathematical and Computational Sciences Division | | don...@ni... Information Technology Laboratory | | http://math.nist.gov/~DPorter/ NIST | |______________________________________________________________________| |