[Gambas-user] Run-time bug

Sebi Kul sebikul at ...626...
Thu May 5 15:36:41 CEST 2011


Hi!
Try to use:
test[0].Add("Logon")
It should work then

On 05/05/2011, at 00:30, nando <nando_f at ...951...> 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"       '<---Runtime error: Bad Number of Dimensions
>
>  PRINT test.count
>
> END
>
> Gambas2
>
> -Fernando
>
> ------------------------------------------------------------------------------
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user




More information about the User mailing list