- Joined
- Sep 9, 2013
- Messages
- 178
- Reaction score
- 40
- First Language
- German
- Primarily Uses
- RMMV
Hello!
In this thread I was asking if my code is correct. Now I tested it and it doesn't work. I suppose it has something to do with the 2 dimensional arrays and the .push() / .length methods that I use.
Example:
Deck[1].length
Deck[1].push(cardID)
I think I'm doing something wrong.
How can I use .push() and .length with 2 dimensional arrays?
Thanks in advance!
In this thread I was asking if my code is correct. Now I tested it and it doesn't work. I suppose it has something to do with the 2 dimensional arrays and the .push() / .length methods that I use.
Example:
Deck[1].length
Deck[1].push(cardID)
I think I'm doing something wrong.
How can I use .push() and .length with 2 dimensional arrays?
Thanks in advance!