虹彩数字公司是培训吗?:请求帮助解释一下下面的代码,包括函数中的参数都怎么用

来源:百度文库 编辑:中科新闻网 时间:2024/05/15 14:13:37
'函数功能:获取网站指定属性
Function GetKey(strKeyName,strUserID,strType)
strTemp=Eval(strType & "_" & strKeyName)
if strTemp="" then
GetKey="Null"
else
GetKey=strTemp
end if
End Function

你这个并不是单独的函数,应该还有几个关联的,就是中间有下划线的N个函数,这个函数的作用就是动态调用那些函数,得到返回值