PRODUCT |

|

|
|
|

|
|
|
|
|
|
|
|
|
FAQ |
|
|

|
|
|
|
|
|
|
|
|
|
LEARN SCRIPTING |
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SAMPLE SCRIPTS |
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HELP / DOCUMENTATION |
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
Help Page - comment
( Some help pages may not display correctly in html because those help pages may have sample code in them, part of which may be mis-interpreted as html tags.
All help pages, including this help page, are available in biterScripting with the help command. )
|
|
|
System Feature
comment
Purpose
Specifies comment within command lines.
Syntax
# [ <comment> ]
Description
The sharp sign (#) is the comment character.
Any text starting with the comment character, till
the end of the line, is considered a comment.
Generous use of comments in a program makes the
program much more readable, and therefore, much more
reusable.
Restrictions
When the comment character is not intended to be the
start of a comment, enclose it in double quotes.
Valid Examples
echo $fileCount
# fileCount is the number of files
# matching our criteria.
Invalid Examples
echo Customer# $custNumber
If the intent is to print the word customer# followed
by the value of variable $custNumber, it will not be
served. Only the word Customer will be printed. Use
the following instead.
echo "Customer#" $custNumber
See Also
constant
var
|
|
|
© 2008-2012, biterScripting.com. All rights reserved.
biterScripting, biterScript, biterBrowser, biterMobile, biterScripting.com, FVA (Forward Variable Assignment) are trademarks of biterScripting.com. Is it biterScripting-compatible ? is a service mark of biterScripting.com.
Explorer, Unix, Windows are trademarks, service marks or other forms of intellectual property of their respective owners.
|
|