- Joined
- Nov 13, 2018
- Messages
- 35
- Reaction score
- 8
- First Language
- English
- Primarily Uses
- RMMV
Hey folks,
I'm trying to build a dictionary in my plugin that I can loop through and grab different values from.
I've build it the standard way I usually build it in Java, but for some reason I keep getting a Invalid Left-hand on assignment error.
Here is the code.
I'm not sure what I'm doing wrong here.
Any and all help appreciated.
I'm trying to build a dictionary in my plugin that I can loop through and grab different values from.
I've build it the standard way I usually build it in Java, but for some reason I keep getting a Invalid Left-hand on assignment error.
Here is the code.
Code:
Hashtable<Integer, Integer> my_dict = new Hashtable<Integer, Integer>;
my_dict.put(1,2)
I'm not sure what I'm doing wrong here.
Any and all help appreciated.