[Gambas-user] Gambas error from 3.14

Marco Ancillotti gambas at servinfo.it
Mon Jan 13 16:25:54 CET 2020


Hi Lussi,
thank you , that fix the problem.
bye,
marco.


Il 13/01/20 14:16, Jussi Lahtinen ha scritto:
> It seems to be old bug. But you shouldn't use embedded arrays unless 
> really necessary.
> This should work:
>
> Private ctrl_dc As new Integer[7]
> Public Sub _new()
>    ctrl_dc[1] = 0
> end
>
> Jussi
>
>
> On Mon, Jan 13, 2020 at 3:11 PM Marco Ancillotti <gambas at servinfo.it 
> <mailto:gambas at servinfo.it>> wrote:
>
>     Hi all,
>
>     I update my ubuntu 18.04 and now some programs raise an error , they
>     works perfectly before latest update.
>
>     The code is like:
>
>     Private ctrl_dc[7] As Integer
>     Public Sub _new()
>        ctrl_dc[1] = 0
>     end
>
>     when I open the form it stuck saying ctrl_dc is read only.
>
>     Should I change somethink on variable declaration ?
>
>
>
>     ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20200113/eeafd9a3/attachment.html>


More information about the User mailing list