global variable experimentation

Need to get global variables in my head - some examples of legal and
illegal uses of variables inside functions.