[Gambas-user] array declaration versus referencing array elements

2009-12-15 Thread kevinfishburne
I have some code: PUBLIC myarray AS String[1, 2] ... myarray[x, 0] = stuff myarray[x, 1] = morestuff myarray[x, 2] = evenmorestuff and receive an out of bounds error message when referencing the third array element assignment (myarray[x, 2] = evenmorestuff). I can only assume that the

Re: [Gambas-user] array declaration versus referencing array elements

2009-12-15 Thread Doriano Blengino
kevinfishburne ha scritto: I have some code: PUBLIC myarray AS String[1, 2] ... myarray[x, 0] = stuff myarray[x, 1] = morestuff myarray[x, 2] = evenmorestuff and receive an out of bounds error message when referencing the third array element assignment (myarray[x, 2] =

Re: [Gambas-user] array declaration versus referencing array elements

2009-12-15 Thread kevinfishburne
Doriano Blengino wrote: I think you posed a question and replied to it by yourself... :-) Hi Doriano. That is super funny. ;) Yes, I was more or less looking for confirmation of the behaviour and hoping to provide a reference for anyone else who may have been similarly confused and