0
Can I write comments inside the code?
Hey,
I want to give comments inside the code.
Example : sum = number(a) + number(b) (// this is the sum of two numbers).
2 replies
-
Yes just put the comment in a string on a new line (no inline comments)
"this is the sum of two numbers";
you can put a carriage return in the string to space things out or for multi-line comments.
-
Thanks.
Content aside
- 3 yrs agoLast active
- 2Replies
- 224Views