Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Any of those approaches will work.

As your program gets bigger and more complicated, having a class will probably be the most maintainable.