Thanks Benoit, I was still thinking 'static' Thinking 'dynamic' it makes sense I will make this adjustment in my brain. Very much appreciated. -Fernando
---------- Original Message ----------- From: Benoît Minisini <gam...@users.sourceforge.net> To: nand...@nothingsimple.com, mailing list for gambas users <gambas-user@lists.sourceforge.net> Sent: Thu, 5 May 2011 19:30:35 +0200 Subject: Re: [Gambas-user] Run-time bug > > ' Gambas class file > > > > PRIVATE test AS String[30, 30] > > > > > > PUBLIC SUB my_test() > > > > test = ["Voice", "Logon"] '<---If I REM this, there is no runtime error > > on next line test[0, 1] = "Logon" '<---Runtime error: Bad Number of > > Dimensions > > > > PRINT test.count > > > > END > > > > Gambas2 > > > > -Fernando > > > > See my answer about "can someone explain why this works?" to understand what > happens. > > Regards, > > -- > Benoît Minisini > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user