I want to expand my games by adding an inventory. I'd assume that the best way of doing this would be to use a list. The only problem is that I don't how to use a list or if it even exists in batch.
Asked
Active
Viewed 56 times
0
-
2There is only one variable type in batch: `string`. If you are ready backslapping you might read [this answer](https://stackoverflow.com/a/45492486/6811411) – Aug 06 '17 at 04:52
-
So a variable and a list would be the same thing? – Aug 06 '17 at 05:27
-
1It's still just a string. The method only creates a (pseudo) array from a string list. – Aug 06 '17 at 05:40
-
1https://stackoverflow.com/questions/10166386/arrays-linked-lists-and-other-data-structures-in-cmd-exe-batch-script/22194718 http://www.dostips.com/forum/viewtopic.php?t=3244 – npocmaka Aug 06 '17 at 07:46
-
I suggest you to read [this answer](https://stackoverflow.com/questions/10166386/arrays-linked-lists-and-other-data-structures-in-cmd-exe-batch-script/10167990#10167990) in previous linked topic... – Aacini Aug 06 '17 at 14:27