How to use a method inside same method? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to use a method inside same method?

In below code i wanna use earase inside moveto function but earase is not defined error is resulted Anyone can help me to fix it? https://code.sololearn.com/W8D8adVIrkCu/?ref=app

15th Jan 2019, 7:50 AM
Amir Rafati
Amir Rafati - avatar
3 Answers
+ 2
Calviղ Thanks for your answer it helps me so much
15th Jan 2019, 8:44 AM
Amir Rafati
Amir Rafati - avatar
+ 1
this.Erase()
15th Jan 2019, 8:20 AM
Calviղ
Calviղ - avatar
+ 1
Can you guid me about simlar question as https://www.sololearn.com/discuss/1656822/?ref=app
15th Jan 2019, 8:46 AM
Amir Rafati
Amir Rafati - avatar