tonyg #1 The static/'global within the scope of a function' method works with both OOP and modular. However, frame would work better as a field in an object.