On 07/04/2011 08:25 PM, Benoît Minisini wrote:
>
> Embedded arrays are not Gambas object, their memory is allocated directly
> inside the object where they are declared.
>
> So you can't use Clear(), as that method resizes the array to zero elements.
>
> If you don't want to be confused, just use n
> I've declared an array like this:
>
> Public QueueObject[1024] As String
>
> and tried to clear it in a procedure like this:
>
> QueueObject.Clear()
>
> but receive the error "Embedded array...".
>
> I just need to erase all the values in the array so I can reassign new
> ones. Obviously I
I've declared an array like this:
Public QueueObject[1024] As String
and tried to clear it in a procedure like this:
QueueObject.Clear()
but receive the error "Embedded array...".
I just need to erase all the values in the array so I can reassign new
ones. Obviously I can do this manually, bu