pTAL Reference Manual (H06.03+)
Compiler Directives
HP pTAL Reference Manual—523746-005
17-23
COLUMNS
COLUMNS
COLUMNS causes the compiler to treat any text beyond the specified column as
comments.
columns-value
is an unsigned decimal constant in the range 12 through 132, the column beyond
which the compiler is to treat text as comments.
If columns-value is smaller than 12 or larger than 132, the compiler issues an
error message.
The columns-value active at any given time depends on the context, as follows:
•
The main input file initially has the columns-value set by the last COLUMNS
directive in the compilation command. If there was no COLUMNS directive in the
compilation command, the main input file initially has the default columns-value
of 132.
•
At each SOURCE directive, each included file initially has the columns-value
active when the SOURCE directive appeared.
Default: COLUMNS 132
Placement:
•
Anywhere, but if COLUMNS appears in the source code, it must be
the only directive on the directive line
•
Typically specified before any SECTION directive
Scope: Applies to all source code that follows it unless overridden by:
•
Another COLUMNS directive in the same source file (not
recommended)
•
A COLUMNS directive in a source file included by means of a
SOURCE directive
•
A COLUMNS directive in a section identified by a SECTION
directive
For details, see the explanation that follows this table.
Dependencies: None
References:
•
SECTION on page 17-55
•
SOURCE on page 17-58
COLUMNS
VST127.vsd
columns-value










