[Gambas-user] About help and arrays and variables
Fabien Bodard
gambas.fr at ...626...
Fri Nov 19 16:52:10 CET 2010
2010/11/19 Simonart Dominique <simonart.dominique at ...11...>:
> Le 19/11/2010 14:58, Fabien Bodard a écrit :
>> 2010/11/19 Demosthenes Koptsis<demosthenesk at ...626...>:
>>> ok!
>>>
>>> i was cofused from two things
>>>
> Hi all,
>
> I tend to get a little confused too!
>
> Are these assumptions correct?
>
> If array notation is on Variable name, array is STATIC
> If array notation is on Data type, array is DYNAMIC
the difficulty for me is that gambas2 is not gambas3 :)
in gambas2 only static array can be used for other thing than the
basic datatypes (string, integer, float, object, etc)
in gambas3 the dynamic array can manage all the types.
before i was writted
private aObj as Object[]
Dim hLabel as New Label(me)
sObj.Add(hLabel)
And now
private aLbl as Label[]
Dim hLabel as New Label(me)
sLbl.Add(hLabel)
More information about the User
mailing list