Two dimensional array

There’s a much simpler way to do this with Vector 2D array variables.

Make a Vector 2D array variable and then in a nested for loop, write the i and j values. This way you can even make it a function so that all you have to do is input an x and y and then it will spit out a 2d array

https://i.imgur.com/nX59Ocz.png – function creation

https://i.imgur.com/UasK6Ss.png – function calling and then reading the outputs

https://i.imgur.com/mlVFuuH.png – outputs

1 Like