当我运行脚本时,它说
Microsoft VBScript运行时错误'800a01f5'
非法分配:“ MAX_AGE”
/classic.asp,第8行
这是脚本:
response.Write(GetMaxAge())
Function GetMaxAge()
const MAX_AGE = 50
Dim iRtnValue
MAX_AGE = 45
iRtnValue = MAX_AGE
GetStudentAge = iRtnValue
End Function
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1980 次 |
| 最近记录: |