房天下 > 房天下问答 > 业主生活 > 其他
  • 请问这段代码中省略是哪部分的end if?

    if sex="男" then if age<8 then response.Write("小弟弟") else if age>=8 and age<=15 then response.Write("小男孩") else if age>=16 and age<=24 then response.Write("小伙子") else if age>=25 and age<=45 then response.Write("青年男子") else if age>=46 and age<=55 then response.Write("中年男子") else if age>=56 and age<=80 then response.Write("老爷爷") else if age>80 then response.Write("老寿星") end if end if end if end if end if end if在FIF小组学ASP,看不太明白这块是省略哪两个IF语句的end if,谢谢!!!

    提问者:比你有型

    发布于2011-01-25

共1个回答
  • lwjun555 丨Lv 0
    If age > 80 Then response.Write ("老寿星")上句的End If可以不用若不省略则If age > 80 Then response.Write ("老寿星")End If
    +1 2011-01-25 举报
热门人气推荐
免责声明:问答内容均来源于互联网用户,房天下对其内容不负责任,如有版权或其他问题可以联系房天下进行删除。