declare try local X Y in thread X=1 end thread Y=2 end thread X=Y end end catch Z then {Browse Z} end % catching it: local X Y in thread X=1 end thread Y=2 end thread try X=Y catch Z then {Browse Z} end end end