[Gambas-user] how to determine if array its empty

Hans Lehmann hans at ...3219...
Sat Jul 1 15:08:33 CEST 2017


Hallo,

my idea:

Dim myArray As New String[]

' Existiert das Array und ist die Anzahl der Elemente gleich Null, dann 
ist das Array leer
If Not IsNull(myArray) And If myArray.Count = 0 Then Print "Array is empty"

Hans




More information about the User mailing list