4

Make If, Else and End If actions not set or clear the %err or %errmsg variables

Currently, if we want to react to a branch ending in error, this is necessary:

If 1 
Try A (Continue after error)
If %err set %error to 1
Else If 2
Try B (Continue after error)
If %err set %error to 1
End If
Do Z if %error = 1

Is there any reason for the If, Else and End If actions clearing the %err variable?

If the %err variable was left alone by these actions, the task could be written more simply:

If 1
  Try A (Continue after error)
Else If 2
  Try B (Continue after error)
End If
Do Z if %err set