Tuesday, November 13, 2007

Check empty array Trick

The old trick for checking for an empty array is

Dim X() As String

If (Not X) = -1 Then
Debug.Print "empty"
Else
Debug.Print "UBound is " & UBound(X)
End If

No comments:

Python Logging Best Practices

Python Logging Best Practices Introduction to Python Logging Importance of Logging in Business Applications Logging is an essential ...