以下 Flow Control 关键词可用在脚本中,以便返回该脚本内各步骤的“错误”或“成功”回应。
IfState {ERR|OK} label
IfState ERR End
IfState OK Bye
Goto End
Goto End
Exit {ERR|OK}
Exit ERR
Exit OK
:
(后接名称)Bye
OnError {EXIT|CONTINUE|GOTO} label
OnError EXIT (预设行为)
OnError CONTINUE
OnError GOTO Logoff