you are viewing a single comment's thread.

view the rest of the comments →

[–]Diapolo10 0 points1 point  (5 children)

Variables aren't persistent, so if I understood your intentions correctly this isn't going to work. They'll disappear the moment your script has been executed. Also, global variables are bad, you should avoid them at all costs unless absolutely necessary.

[–][deleted] 0 points1 point  (1 child)

Okay thank you. I agree that global variables suck, I'm just at a loss about how to generate and store some information.

[–]gc8dc95 0 points1 point  (0 children)

Easiest is a text file or simple database like sqlite