[Gambas-user] Multidimensionally Collection/Arrays

gambas at ...1938... gambas at ...1938...
Mon Jul 28 13:39:17 CEST 2008


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. Juli 2008 13:11:26 schrieb 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 SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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