Case 1:
  Dim myArray As String[] --> Array not exist.

Case 2:
  Dim myArray As New String[] --> Array ist empty.

Case 3:
  Dim myArray As New String[] --> Array is not empty!
  myArray.Add("Value")

  If Not IsNull(myArray) Then
     If myArray.Count = 0 Then
        Print "Array ist empty."
     Else
        Print "Array is not empty!"
     Endif
  Else
     Print "Array not exist."
  Endif

Hans

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to