Dim myArray As String[] If IsNull(myArray) Then Print "Empty"
Regards Gianluigi 2017-07-01 11:33 GMT+02:00 PICCORO McKAY Lenz <mckaygerh...@gmail.com>: > i have > > Dim ar As New Variant[] > > so how can i determine if the array its empty, i mean does not added any > element.. due that piece of code fails: > > If value.dim > 0 Then > > If value.count > 0 Then > > with a index out of bound exception > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > ------------------------------------------------------------ > ------------------ > 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 > ------------------------------------------------------------------------------ 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