日本三年签证第二次去:在asp,vb 中 select case 语句中 case 50到100这间 这名话怎么表示

来源:百度文库 编辑:神马品牌网 时间:2024/05/07 19:19:43
Function nickname (score)
select case score
case cint(score)<60
temp="不及格"
case cint(score)>=60 and cint(score)<70
temp="及格"
case cint(score)>=70 and cint(score)<80
temp="及格"
end select
nickname=temp&"ddd"
end function
response.Write nickname(50)

为什么这样写还是不行呢?

case 50 to 100 还是不行的

case 50 to 100

case var>=50 and var<=100