Closed haifenghuang closed 5 years ago
Hi there!
Thank you for getting in touch, I would have replied sooner but I have just gotten back from holidays. I see the error, and I have edited the documents to reflect the changes.
The problem is the capital "C" in "Class" the reason everything is freaking out, is because it doesn't realise it is in a class.
Once you fix that... It will arise a problem at line 24, which is the p.reverse();
line. The reason is is raising an error is because the reverse function is private.
Once you remove that, the program will continue to run.
Regards.
I have got an error when executing a
person.mn
file, it's contents are as beow:But it always report below error: