This blog is about my history as a software engineer utilizing technologies C#, Java, React, JavaScript, .NET Core, SQL Server , Oracle, GIT, GitHub, Jira, Azure, AWS and HTML5. “I have not failed. I've just found 10,000 ways that won't work.” Thomas A. Edison. Please click on all my ADVERTISING links to help support this blog. Thank you.
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:
Post a Comment