| Programming
command that is not run or executed when being read by the computer. A
commonly used nonexecutable statement is a remark (REM)
used in batch files and and other types of Microsoft
Windows and DOS programs.
Below is a listing of other types of
text used to remark, comment, or cause the line to be skipped.
# |
The pound symbol is a
commonly used symbol to comment a line in several different
programming languages. This symbol is only required once at the beginning
of the line or comment on the line. |
; |
The semicolon is commonly used to remark a line in
an INI file. This
symbol is only required once at the beginning of the line. Note that
it must be at the beginning of the line in an INI file. |
! |
The exclamation mark is used in
various types of scripting programs to comment a line. This
symbol is commonly required at the beginning of the line. |
| /* */ |
Used to add a comment to a line in
the C programming language. The comment
must begin with /* and end with */. Below is an example of how
this may look:
/* Computer Hope comment */ |
<!-- --> |
Used in HTML and some
other scripting languages; beginning a comment with <!-- and
ending it with --> will allow you to comment your HTML source
without it being displayed in the normal view. Below is an
example of how this would look:
<!-- Computer Hope comment --> |
Also see: Comment, Programming
definitions, Remark
|
|
| Resolved | Were you able to locate the answer to your questions? |
|
|