# jCL C

Updated: 10/19/2020, 10:24:56 AM
Created: 10/19/2020, 10:24:56 AM
Last Updated By: Daniel Klein
Read Time: 1 minute(s)

Tags: debugging jcl

# Description

The command defines a comment. It indicates that the following text is a comment. All comments are ignored at run-time.  It takes the general form:

C
1

or

*
1

Comments are useful to improve the readability of a program or help with debugging. Typically, the first few lines of a jCL program are used to describe the program, identify the programmer and record the date it was last modified.

# Note

Comments can be used within grouped commands (more than one command on a single line) but  care must be taken though to ensure they will not conflict with normal command syntax.

# Example

001 PQN
002 C This program will...
003 C Created by A. Programmer, dd/mm/yy
004 C Last modified by:...
005 RI
006 RO
007 10 T C, (5, 10), "Password :",+
008 HECHO OFF
009 P
010 IP %1 \C Input password
011 HECHO ON
012 P
.
.
1
2
3
4
5
6
7
8
9
10
11
12
13
14

Lines 2 to 4 are comment lines. Line 10 has a comment after an input command (the "" is a subvalue mark <ctrl &gt;).

ack to jCL Commands