Ohhh that's great... ---
David ----- Original Message ---- From: Stefano Palmeri <[EMAIL PROTECTED]> To: mailing list for gambas users <gambas-user@lists.sourceforge.net> Sent: Thursday, July 17, 2008 1:54:33 PM Subject: Re: [Gambas-user] Dinamic Arrays in Gambas Il giovedì 17 luglio 2008 15:34:10 David Villalobos Cambronero ha scritto: > Hi all, > > How can I get a dinamic array with more than one dimension. > > I my program I need to create at execution time a dinamic array, in > example: > > 1 - I will ask the user how many rows. > 2 - I will ask the user how many columns. > 3 - With this info I need to create an array. > > I know there is String[], Integer[], but how can I get more dimensions. > > Best regards > > David > This a bidimensional 10x10 array of strings. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' DIM arsMyStrings AS String[] arsMyStrings = NEW String[10, 10] arsMyStrings[0, 0] = "hello" PRINT arsMyStrings[0, 0] '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Bye, Stefano > > > > > ------------------------------------------------------------------------- > 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@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user