how about the ability to set the exit error code like this.

code:
seterror("1 2 56")

for $i = 0 to ubound(@error)

? @error[$i]
? @serror[$i]

next


function seterror($error)
$error = split($error," ")
exit($error)
endfunction

Bryce