Writing multiline command within other create an error?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Writing multiline command within other create an error??

11th Jun 2017, 6:25 PM
Gokul Kishore
Gokul Kishore - avatar
2 Answers
+ 3
basically the end of the comment within the comment causes the end of the outer comment to cause an error. . think of it as the following: start start end end . the first start creates a comment, the second start is commented out and thus ignored the first end closes the comment and the compiler starts working on code.. it thinks the comment is code, and then it sees the end of a comment and gets an error
13th Jun 2017, 12:29 PM
Daemo
Daemo - avatar
+ 5
Thanks Daemo...Got it clear....
14th Jun 2017, 2:42 AM
Gokul Kishore
Gokul Kishore - avatar