call test wait [label] close #w print "Jumped to the [label] *outside* the subroutine" wait sub test open "Click the close button" for window as #w #w "trapclose [label]" exit sub [label] close #w print "Jumped to the [label] *inside* the subroutine" wait end sub
call test wait [label] close #w print "Jumped to the [label] *outside* the subroutine" wait sub test open "Click the close button" for window as #w #w "trapclose [label]" end sub
|