Sahi 脚本中 if-else-if 语句的语法是什么?以下因语法错误而失败:
function caseSwitch($htype){
if($htype==22){
type22();
}
else{
if($htype==5){
type5();
} //I have tried adding a semicolon here and it still fails
}
else
{
_log("Whoops, Hierarchy Type " + $htype + " has not been automated yet");
}
}