Re: [Gambas-user] Multidimensionally Collection/Arrays

2008-07-28 Thread Stefan Miefert
Hello, but how cani add some fields after the definition? >arsMyStrings AS String[] > >outside of functions. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based appli

Re: [Gambas-user] Multidimensionally Collection/Arrays

2008-07-28 Thread Werner
Stefan Miefert wrote: > Hello, > > and how can i use this Array as a public var? > > > >> DIM arsMyStrings AS String[] >> > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build

Re: [Gambas-user] Multidimensionally Collection/Arrays

2008-07-28 Thread Steven Lobbezoo
arsMyStrings AS String[] outside of functions. Steven Le lundi 28 juillet 2008 à 13:11 +0200, Stefan Miefert a écrit : > Hello, > > and how can i use this Array as a public var? > > > > DIM arsMyStrings AS String[] > > > -

Re: [Gambas-user] Multidimensionally Collection/Arrays

2008-07-28 Thread gambas
Perhaps an array with collections as it's elements is usefull for you DIM list AS NEW Variant[] DIM col AS NEW Collection IF list.count < n+1 THEN list.Resize(n+1) ENDIF IF list[n]=NULL then col = NEW Collection list[n] = col ENDIF list[n][key] = value Am Montag, 28

Re: [Gambas-user] Multidimensionally Collection/Arrays

2008-07-28 Thread Stefan Miefert
Hello, and how can i use this Array as a public var? > DIM arsMyStrings AS String[] - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SD

Re: [Gambas-user] Multidimensionally Collection/Arrays

2008-07-28 Thread Stefan Miefert
HEllo, i need a dynamic array and, if possible, I need text values for the index. All Isee in documentations, thi sisnt possible on arrays. I come from php an the array in php handle this all and very easy:) Is their and way to do this in gambas? > I don't think you can create a multidimensio

Re: [Gambas-user] Multidimensionally Collection/Arrays

2008-07-28 Thread Stefano Palmeri
Il lunedì 28 luglio 2008 08:31:05 Stefan Miefert ha scritto: > Hello, > > how can i set and get a multidimensionally collection I can call like this > > mycollection['dimension1']['dimension2'] > > Thanks for any help > > - > T

[Gambas-user] Multidimensionally Collection/Arrays

2008-07-27 Thread Stefan Miefert
Hello, how can i set and get a multidimensionally collection I can call like this mycollection['dimension1']['dimension2'] Thanks for any help - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge B