I have a bunch of huge programs, most with similar functionality. My life would be a lot easier if I could just write a library of functions that had local variables.