answersLogoWhite

0


Best Answer

It depends on the language.

In most cases a remark or comment is denoted by a token or symbol such that the remainder of that line is ignored by the language compiler or interpreter. That is, the comment extends to the end of the line it appears on (known as a single-line comment). However, some languages require that comments be placed on a separate line, by themselves, including BASIC which traditionally opens a comment with the keyword REM (short for remark).

In C, comments are enclosed in paired delimiters, beginning with /* and ending with */. This convention allows comments to extend across multiple lines as well as to insert comments inside code statements. Languages derived from C, including C++ and C#, also use this convention (known as a C-style comment), but they also allow single-line comments beginning with a // (double-slash) token. Java uses the same syntax as C++ and therefore uses the same comment style. Some languages use the # (pound) symbol to begin a comment while Visual Basic uses a ' (apostrophe).

Additional information on comments can be found in your language documentation.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you add programme comments?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the correct way to add comment in PHP?

// For single line comments /* Your comments here */ For multi-line comments


What else can be used in stead of identification division while writing a cobol programme?

1. Comments. 2. Simply skip it.


How do you add a comment to your Google presentation?

You can add Speaker Notes to your presentation, from the View menu, and insert your comments there. Otherwise, if you collaborate -- share your presentation with others -- you can also add comments in the Speaker Notes area.


How do you put comments on miniclip?

You click on add comment


How can you add comments in a cell of Microsoft Excel?

Right-click on the cell and select Insert Comments, then enter your comment.


How many ways can you add affects and animation to text or graphics in your slides?

Depending on what programme you're using, and also the age of the programme, you can have thousands of animations.


What happens when you add comments to a spreadsheet in Microsoft Excel?

A user will be able to read your comments when they click on the cell with comments. You can tell a cell has comments, because you will see a small red triangle in the top right corner of the cell.


What does max gladwell invites his readers to?

add to his list through comments.


How do you hide comments without hiding add comments?

You can hide your comments and show only the "add comment" link with this Myspace code. Copy and paste the code to your About Me or Who I'd Like to Meet section. <style> .friendsComments table table, .friendsComments b, .friendsComments .orangetext15 { display:none; } </style>


How do you add a bottom scroll bar?

Zoom out And What programme is it for?? (eg. internet, powerpoint, word.)


Which tasks can you complete while you are working on a case in Payment Analytics?

WRONG! vvvv its "Add comments to the case and read other users’ comments on the case"


How can you add a comment in a JavaScript?

Javascript uses C-style comments, for block comments (multiline) use: /* comments go anywhere in here */ for short one line comments use double-slash: // this is also a comment