[Gambas-user] About help and arrays and variables
Demosthenes Koptsis
demosthenesk at ...626...
Fri Nov 19 20:41:21 CET 2010
hm i have not write so far object programming but i know the basics how
to do that.
But i have no experience about that you say.
My book is for Gambas2 and i all i said about static and dynamic arrays
is from this side.
On Fri, 2010-11-19 at 16:52 +0100, Fabien Bodard wrote:
> 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)
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Regards,
Demosthenes Koptsis.
More information about the User
mailing list