/ Published in: ASP

Checks if an array has been initialized, even if it is a dynamic array.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
'**************************************** ' Checks if an array has been initialized, even if it is a dynamic array. ' ' Got this from http://en.wiki.mcneel.com/default.aspx/McNeel/RsEmptyArray '**************************************** Function IsArrayDimmed(arr) IsArrayDimmed = False If IsArray(arr) Then On Error Resume Next Dim ub : ub = UBound(arr) If (Err.Number = 0) And (ub >= 0) Then IsArrayDimmed = True End If End Function
URL: http://en.wiki.mcneel.com/default.aspx/McNeel/RsEmptyArray
Comments
