Re: [Gambas-user] Run-time bug

2011-05-05 Thread nando
rs 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"] '<

Re: [Gambas-user] Run-time bug

2011-05-05 Thread BenoƮt Minisini
> ' 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 > > Gamba

Re: [Gambas-user] Run-time bug

2011-05-05 Thread Sebi Kul
Hi! Try to use: test[0].Add("Logon") It should work then On 05/05/2011, at 00:30, nando wrote: > ' 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"

[Gambas-user] Run-time bug

2011-05-04 Thread nando
' 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 --