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

Gianluigi bagonergi at ...626...
Sat Jul 1 15:48:06 CEST 2017


Hi Hans,
If the array is not instantiated or does not work (first example) or does
error.

Regards
Gianluigi

2017-07-01 15:36 GMT+02:00 Hans Lehmann <hans at ...3219...>:

> Correct?
>
> If (Not IsNull(myArray) And myArray.Count = 0) Then Print "Array is empty"
>
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list