<< Click to Display Table of Contents >> Navigation: User guide > Introduction > Script lines |
Each line of the CL script file can be any length up to 1000 characters (including blanks). All blanks before the first non-blank character on a line are ignored. Blanks following the last non-blank character on a line are also ignored except that one blank is assumed at the end of each line. This means that when text (part of the CL script within quotation marks) extends over a line ending, one blank character is added to the end of the line, so text should always be split between words.
There is also a comment facility, such that if a CL script line contains an exclamation mark (!), then the exclamation mark and all characters following it on the line are ignored by the compiler. Usually the exclamation mark will be in position 1 so that the whole CL script line will be ignored. Another character instead of exclamation mark may be used if required, it is set by format CPC.
There is no limit on the number of lines in a CL script.