并按以下方式调用 numval = getno(val) 我是获取错误类型不匹配:''return''当传递给函数的值为6.它在return语句中给出错误。请帮忙。 谢谢hi all,i have following function in vbscriptFunction getno(nom) select case nom case 1: getno="1st Qtr" Case 2: getno="2nd Qtr" case 3: getno="3rd Qtr" Case 4: getno="4th Qtr" Case 5: getno="5th Qtr" Case 6: getno="6th Qtr" return getno end selectEnd Functionand calling it as belownumval = getno(val)I am getting error Type mismatch: ''return''when value passed to the function is 6. Its giving error on return statement. Please help. thanks推荐答案 你应该删除返回声明。 这篇关于经典ASP精选案例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-31 11:40