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

PICCORO McKAY Lenz mckaygerhard at ...626...
Sat Jul 1 11:33:03 CEST 2017


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



More information about the User mailing list