arrays - 检查 vbscript/classic asp 中的任何内容

标签 arrays asp-classic nothing

我需要更新一个旧的经典 asp,我必须调用一个通常返回数组的函数,但在某些情况下可能会返回 Nothing或未定义的值。

如何检查结果是否实际返回一个数组?

最佳答案

函数后期绑定(bind)/是否有 Variant返回值?如果是这样,IsArray函数将检查它是否包含数组类型。

关于arrays - 检查 vbscript/classic asp 中的任何内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/777558/

相关文章:

arrays - Pyspark 数据框 : Count elements in array or list

arrays - 如何在 Swift 4 中选择要反序列化的 JSON 数组

c++ - 传递结构数组时遇到问题

arrays - 字符串不能被强制转换为 Fixnum

visual-studio-2010 - VS2010 在哪里存储经典 ASP 网站的基本 Url?

斯卡拉 : Type Nothing with User defined classes

asp-classic - response.addheader 的 VB 语法

sql-server-2008 - ADODB.Recordset 错误 '800a0e78 对象关闭时不允许操作 : stored proc against temp table requiring SET NOCOUNT ON

julia - 没有更好的方法来组合多个 `Union{T, Nothing}`

Scala:对多态类型的单例实例使用 Nothing