当前位置: 移动技术网 > IT编程>开发语言>Asp > ASP常用函数:IIF()

ASP常用函数:IIF()

2017年12月12日  | 移动技术网IT编程  | 我要评论
用法: iif(条件表达式,为真时返回值,为假时返回值)

<%
function iif(bexp1, sval1, sval2)
    if (bexp1) then
        iif = sval1
    else
        iif = sval2
    end if
end function
%>

如对本文有疑问, 点击进行留言回复!!

相关文章:

验证码:
移动技术网