|
From: Donal K. F. <don...@ma...> - 2008-11-25 09:16:17
|
Magentus wrote: > Could you, then, post right here a formal specification (or link to > same on the tcl.tk site) of what the errorcode looks like, just as a > marker point to set this part of the discussion straight. No, it was never thought necessary. But I can point out that the function at the C level that builds the errorcode builds a list from its arguments, and has been documented to do so since... well, it's documented in the Ousterhout book, so that makes it at least 15 years old. While strictly you can build it yourself directly, nobody does. See the 'tclvars' manual page for what formal information we have, and 'Tcl_SetErrorCode' for the constructor function. > I think without a formal description of what errorcodes actually are, > this sub-thread has been chasing its own tail just a little. Yes, and you've been one of the main sources of misinformation. Donal. |