Difference between revisions of "&&"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
|||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Add comments to a program to improve its readability and maintainability | Add comments to a program to improve its readability and maintainability | ||
− | |||
==Syntax== | ==Syntax== | ||
&& <expC> | && <expC> | ||
− | |||
==See Also== | ==See Also== | ||
− | [[*]], [[Double Slash Comment|//]], [[Comment Block|/*...*/]] | + | [[*]], [[Double Slash Comment|//]], [[Comment Block|/*...*/]] |
− | + | ||
==Description== | ==Description== | ||
− | The && command allows all characters following it on a line to be treated as a comment and to be ignored | + | The && command allows all characters following it on a line to be treated as a comment and to be ignored. The && command differs from the * command, in that it can be placed anywhere on a line, even following an executable command. |
− | + | ||
==Example== | ==Example== | ||
Line 22: | Line 18: | ||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Commands]] | [[Category:Commands]] | ||
− | [[Category: | + | [[Category:Comments]] |
− | + |
Latest revision as of 22:57, 9 December 2012
Contents
Purpose
Add comments to a program to improve its readability and maintainability
Syntax
&& <expC>
See Also
Description
The && command allows all characters following it on a line to be treated as a comment and to be ignored. The && command differs from the * command, in that it can be placed anywhere on a line, even following an executable command.
Example
&& open the table use patrons index names && view in name order