[Gambas-user] Run-time bug
Benoît Minisini
gambas at ...1...
Thu May 5 19:30:35 CEST 2011
> ' 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
More information about the User
mailing list