A
Amara Angel
Guest
I'm using GMS2 (desktop, windows 2.2.4.464, runtime 2.2.4.372) and I was working on updating some old code after a long time of not using GMS2. I was working with 2D array's, but after a bunch of errors I took a look at the manual and there I saw that the whole system had changed and that stuff like
are deprecated. Instead of a[0, 0] you're supposed to do a[0][0] now?
I tried to use my 2D arrays like that instead but doing something like:
returns the compile error
and
The same things happen when I try to do:
Is this supposed to happen? If it is, how am I supposed to access 2D arrays instead?
I have checked and I should be running the latest version of the editor and of the runtime.
Code:
array_length_2d
I tried to use my 2D arrays like that instead but doing something like:
Code:
x = RLocation[RLN][0];
Code:
Assignment operator expected
Code:
malformed assignment statement
Code:
RLocation[0][0] = x;
I have checked and I should be running the latest version of the editor and of the runtime.