How to save a global variable/array?

Hello!

I'm trying to put together a very basic script which stores numbers in an array. And during the game, I add and remove elements from this array. What I can't do is to make the game remember the actual content of the array if I save and exit the game.

Can anyone help me in this?
You can create the array you made in the Function Game_System, so everything will be save once you exit and load the game.
You can create the array you made in the Function Game_System, so everything will be save once you exit and load the game.
Got it.

Just one thing. I have no idea how to do this. 😀

Edit: Hey, I got it afterall. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-to-save-a-global-variable-array.74808/