So, are you trying to close off the discussion? lol

Maybe we should be requesting that KIXtart have an optional error queue that will add functionality to the @error and @serror macros.

Maybe like this:

First activate:

ERRORTRAP=ON

Then have additional error functions that had a queue of errors:

$error1 = ERROR[a]
$lineerror1 = LERROR[a]
$error1string = SERROR[a]
[a] represents the nth @error code returned.

$error1 would return the errorcode.
$lineerror1 would return the line number of or function generating the errorcode.
$error1string would return text of the error.

In addition, have a command called:

ERRORLIST that would return a list of return codes and functions in column form:

errornum linenum textmessage
0 1
0 2
1 3 This is an error 1 message

.....
Yeah, this is totally off topic, but wouldn't it be cool? Maybe i should drop this in the suggestion box.

Brian