[Gambas-user] Write protected array

Johny Provoost johny.provoost at skynet.be
Tue Dec 3 18:22:33 CET 2019



Op 3/12/2019 om 14:18 schreef Dag Jarle Nerland Johansen - Gambas:
> As I said in the  my reply to myself,
> I have it on the original too.
> I oversaw that, because I use the compiled version since a long time.
> I assume something changed in Gambas itself, but what?
>
> Am 2019-12-03 um 13:46 schrieb Dag Jarle Nerland Johansen - Gambas:
>> Hi,
>> how can it be, I get  the error "Write protected array" on a PC, and 
>> on the one where I programmed it, not?
>> I copied the project folder to the other PC and tried to run.
>> Before I sat ownership and mode.
>> Thanks in advance,
>> Dag
>>
>>
Got the same problem since 3.14.2 with some projects
Remembered the problem from mails some while ago.
The defenition arrays  of
     Public RLBallsPosition[37] As Integer
had to change to
     Public RLBallsPosition As New Integer[37]
That solved my problem.

Johny


More information about the User mailing list