> ' 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

Reply via email to