[Gambas-user] Arrays

Steven Lobbezoo steven at ...1652...
Thu Apr 19 22:31:05 CEST 2007


Wow, it does .... :-) :-)

I new there was some simple way.

Thanks

Le jeudi 19 avril 2007 22:23, Benoit Minisini a écrit :
> On jeudi 19 avril 2007, Steven Lobbezoo wrote:
> > Hi,
> >
> > I need to work with an array that i want to declare directly in my
> > program. (outside from a sub or a function)
> > i did :
> > PUBLIC Docs AS Array[] = [["Terrain", "fb", "fiche_bien_terrain.odt"],
> >                           ["Batiment", "fb", "fiche_bien_batiment.odt"]]
> > which does not work, but illustrates the principe.
>
> If you replace Array[] by Object[], it should work.




More information about the User mailing list