谁能帮我看看下面ASP语句什么意思,谢谢!

来源:百度知道 编辑:UC知道 时间:2024/09/22 16:42:06
<%
if Action="Co" then
Response.write "热点专题"
elseif Action="Ye" then
Response.write "业内资讯"
elseif Action="Pr" then
Response.write "安全文摘"
end if
%>
 </SPAN></TD>
<TD class='MC_Pt_TD4'><div align="right">
<%
if Action="Co" then
call ShowNewsCoTotal()
elseif Action="Ye" then
call ShowNewsYeTotal()
elseif Action="Pr" then
call ShowNewsPrTotal()
end if
%>

这是一个判断语句,上面的那个if end if语句如果action为co的话,那么显示"热点资讯",如果是YE的话,那就显示"业内资讯",其它情况显示"安全文摘",下面的if end if语句是根据不同条件调用不同的子函数。