Yes, it is similar to VB implementation. This setting is active until some other OnError... statement is executed which overrides the previous setting. I really mean executed, not just coded somewhere below in script. : aey, : In JAL, does the OnErrorGoto statement work the same way as it does in VB. In : VB, if I define the “OnError Goto” any time an error is encountered VB : goes to the error routine. : Does the 24x7 JAL “OnErrorGoto” work similar to the VB "OnError : GOTO". Or is it specific to the section of code immediately following : the statement? : IF I define a statement like this: OnErrorGoTo ErrorRoutine : Block1: statement-block1 : Block2: statement-block2 : Block 3: statement-block3 : Block5: statement-block5 : ErrorRoutine: Case 1 : …. : Case 10 : endcase : Will 24x7 OnErrorGoto catch an error generated in Block5 and jump to the : ErrorRoutine? : ~Joe
|