[Gambas-user] Gambas bug?

Emil Lenngren emil.lenngren at ...626...
Fri Feb 10 21:15:51 CET 2012


Can't you just store the array in an "Object", then each calls are
dispatched?

Dim o As Object
o = the_array
o.Add(whatever)

/Emil

2012/2/10 Fabián Flores Vadell <fabianfloresvadell at ...626...>

> 2012/2/10 nando <nando_f at ...951...>
>
> > First, what are you trying to do?--
> >
>
>
> I'm trying to find a design pattern that allows me to use the introspective
> features of Gambas to avoid the boring work consisting in write (in a
> class) the signatures of some methods that belong to one of its
> collaborators (that I need to expose).
> In this case, I need to expose some methods from an array in my class, but
> I don't want to write the wrapper signatures, e.g.:
>
> Public Sub Add(somethig As type)
>  myArray.Add(something)
> End
>
>
> Fabián Flores Vadell
> www.comoprogramarcongambas.blogspot.com
> www.speedbooksargentina.blogspot.com
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list