[Gambas-user] multi dimension integer array question

Tobias Boege taboege at gmail.com
Mon Nov 16 19:43:07 CET 2020

On Mon, 16 Nov 2020, KKing wrote:
> I'm currently creating an integer array thus
>     Public intPixel As New Integer[199, 1999]
> where I know that 199 (Rows) and 1999 (columns) are sufficient for my
> current needs.
> But is there some way to "REDIM" on the fly if establish more rows or
> columns are needed?

The word you are looking for is "RESIZE" and that [1] tells you:

  (!) The array cannot be resized if it is multi-dimensional.

[1] http://gambaswiki.org/wiki/comp/gb/array/resize

"There's an old saying: Don't change anything... ever!" -- Mr. Monk

More information about the User mailing list