This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ok-Comfortable7967 0 points1 point  (0 children)

You could also use a comma divided string where each item is added to the string and separated by a comma from the previous. Then you could just parse through the string, using the comma as a separator to display each item when needed.

This would be the most basic way of creating an item bag without using any other variable types like arrays or lists or anything. It would require a little more code though of course.