+ 2

Comments in lines

Do the slashes only make a single-line comment? What if I have several lines of comments to write? Are there any ways besides just adding two slashes at the beginning of every line?

15th Feb 2017, 9:46 AM
夏目のRain_Li
夏目のRain_Li - avatar
2 odpowiedzi
+ 3
Oops sorry I've found the answer by myself through learning the course. It begins with /* and ends with */ at the end of the comment block.
15th Feb 2017, 9:57 AM
夏目のRain_Li
夏目のRain_Li - avatar
+ 2
you can use // for a single line comment. the one with asterisk for a multi line comment.
15th Feb 2017, 2:47 PM
Tuchy
Tuchy - avatar