[Gambas-user] Arrays

Benoit Minisini gambas at ...1...
Thu Apr 19 22:23:31 CEST 2007


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.

-- 
Benoit Minisini




More information about the User mailing list