Hello,
Maybe I`m getting something wrong but shouldn`t "abort_page" stopped
executing code completely? I have a simple example where it does not.
Can anybody explain me why external_problem is set and why then the
external abort_page is not executed? Tested using rivet-2.3.5 and 3.1.1
<?
set external_problem [ catch {
set internal_problem [ catch {
# make some error here to catch it
puts"" ; #error
} internal_zonk ]
if { $internal_problem } {
puts "$internal_zonk"
abort_page
puts "This should not be put"
}
} external_zonk ]
if { $external_problem } {
puts "$external_zonk"
abort_page
puts "Why this is put?"
}
?>
--
Witek Mozga
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]