During implemention of a component, I write a simple program to check the component's functionality. Eventually I may ship the program as sample program with the component.
Please consider that my concern was writing a component, not a complete program. Therefore, don't count on the sample program as a skeleton for your program. And, please don't ask questions like:
- Is sample program able to do ...?
- How can I change sample program to do ...?
- Why sample program doesn't do ...?