I realize that the ,commands are meant for interactive use. However,
it would occasionally be useful to access them from within a script.
For example, CGI scripts could print a backtrace on error, to give a
little context for debugging.
I did try accessing the (preview) function, but doing so requires
importing many low-level modules and doesn't feel very clean. Is there
a more general solution?
Also, might there be a way of getting the interpreter to print the
line number where an error occurs? Other languages I should not name
are capable of this.
emarsden @ mail.dotcom.fr
It's elephants all the way down