|
From: Andreas L. <av...@lo...> - 2008-11-25 10:02:40
|
Fredderic <mag...@gm...> wrote: > "Donal K. Fellows" <don...@ma...> wrote: > > Subtype descriptors are separate words, as you would know if you'd > > ever actually looked at them! Here's a couple of real examples: > > 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. It's in the tclvars man page (and surely also in the html-pendants) It is a list, the first element of which gives the type, and thereby determines the interpretation of the rest. For those types thrown by the core these interpretations are also given (ARITH,POSIX,...). With all the changes in progress, and the global variable errorCode practically vanishing, it may be necessary to move it's explanation to "error", "catch", "throw" and/or "try" docs. |