Hi, thank you for your rapid response, that explanation of public/private classes rings a bell.
I am right back at the learning stage, so I will often be asking questions on approaches, which might be completely insane to the experienced programmer.
I like what you did there, answered the question followed by recommending a different approach (the correct one! ha), that is exactly the kind of answers I am looking for, so I can gain varied knowledge of how I can make my idea come to life followed by the correct approach to take.
--- Update ---
Originally Posted by
Norm
A file can contain the code for more than one class. But only one of the classes can be public and its name must match the filename
Often the code in two classes can be merged by copying the methods and variables from each class into the new merged class.
Can you please give me an example of how I can go about this? In your own time of course.
In the meantime will be playing around with other ideas.