COMMENT. HP (Hewlett-Packard) HP 3000
Reklama
Reklama
Command Definitions C-E
COMMENT
COMMENT
Inserts a comment into a command stream or user command. (Native Mode)
Syntax
COMMENT [
text
] or
# [
text
]
Parameters
text
Information composed of the comment text. If the last nonblank character is an ampersand (
&
), comment text is continued onto the next line. Default is that a record containing only the string
"COMMENT"
is inserted in the command stream.
Operation Notes
The
COMMENT
command allows you to include an explanation about the purpose of commands or the logic used in creating the job. It also is used to create job headings. After the
COMMENT
command is entered, it can be followed by a message made up of any ASCII characters. If # format of a comment is used the # must be the 1st non-blank character in the command line
Use
This command may be issued from a session, job, program, or in BREAK. Pressing
Break
has no effect on this command.
Example
The following is an example of a job heading using a comment:
!JOB USER.TECHPUBS
!COMMENT THIS IS A SAMPLE JOB
!FORTGO MYPROG
!EOJ
Related Information
Commands
JOB
,
UDCs
, command files
Manuals None
166 Chapter 3
Stiahnuť
Reklama