Error message says: ' demo1' is NOT defined, but it actually has been defined

Hello all, please reference to the tread Error message says: ' demo1' is NOT defined, but it actually has been defined, according to Paul’s solution, it should be MyClass, not myClass. However, please take a look the attached file, the program with myClass runs without any problem on my laptop. Can any experts comment? Thanks.

Please don’t split the thread, this is the same issue.

Also, code is text, so please share it as such: it’s much easier to make text readable than a picture of text. Use code fences (the </> button in the formatting bar) to format the code correctly in your posts.

3 Likes

Roger. I will strictly follow your guidance.

(I’ve merged the thread back in here, FYI)