i know this is outside of the bounds of aolserver in particular,
but i was wondering if you have any idea why this:

set catchReturn \
  [catch {
    return "my return value"
   } catchResult]
puts "catch return is: $catchReturn"
puts "script result is: $catchResult"

spits out:

catch return is: 2
script result is: my return value

?? catch should return 0 if the script doesn't exit with an error, correct?


not a stopping point, but mostly curious on the tcl implementation.

we're using 8.3 and aolserver 3.3.1

thanks all,
scott

Reply via email to