I know this is a stupid question, but I assume you should free all globally declared variables? If you have a variable that is an array or list, is just freeing the variable sufficent, or do you need to free each element of the variable? Also, I noticed in the help file for fonts that you do a Free(@font$); When do you need to use a @ in front of a variable during the free process? I know this should all be basic stuff, but I want to be sure I'm clearing up all my memory.
Arrays stores string values as pointers in each elements. PPL however keeps a list of the pointers in an array and do a free for each of them when the array is freed or if a pointer is replaced.
The @ only converts the address pointed by a variable to it's actual value (a string...). So for arrays it's not necessary because each element already as the pointer value.