[求助]关于一个函数ubound类型不匹配问题!
求助,关于一个函数ubound类型不匹配问题!请大家帮帮忙! <html> <head> <script language="javascript"> </script> <META content="Microsoft FrontPage 4.0" name=GENERATOR></HEAD> <% sCartItemNums = session("cartitemnumarray") nCartItemQtys = session("cartitemqtyarray") nNumCartItems = ubound(sCartItemNums) 错误类型: Microsoft VBScript 运行时错误 (0x800A000D) 类型不匹配: ';ubound'; /例子/book_Local/shopcart.asp, 第 10 行(也就是nNumCartItems = ubound(sCartItemNums)) 我的global.asa 文件为: <SCRIPT LANGUAGE=VBScript RUNAT=Server> Sub Session_OnStart dim sItemNums(0), nItemQtys(0) sItemNums(0) = "" nItemQtys(0) = 0 session("CartItemNumArray") = sItemNums session("CartItemQtyArray") = nItemQtys session("shipbasecharge") = 4.50 session("shipitemcharge") = 1.25 End Sub </SCRIPT> <SCRIPT LANGUAGE=VBScript RUNAT=Server> Sub Application_OnStart End Sub </SCRIPT> 就是运行不下去,请求教: |