I use variables with no trouble at all. But the best way is to use what you know best. If you are gunna set a variable then store it in an ini file when closing then you may as well be using hash tables because they are fastereven if the amount of data is small.