Download HP Pascal for OpenVMS User Manual
Transcript
To use a single-quote string literal with /CONSTANT, enclose the entire
name=value clause in double quotes to prevent DCL from trying to perform
symbol substitution when it sees the single-quote character. For example:
$ PASCAL/CONSTANT="MSG=’Single-quoted literal’"
In this case, the double quotes are discarded by the compiler, and the singlequoted string literal is processed. However, using double-quoted literals with
/CONSTANT is easier and more flexible.
The extended-string syntax for string literals is not supported on the command
line. The extended-string syntax is as follows:
{’printing-string’({constant-expression},...)}...
{"printing-string"({constant-expression},...)}...
These extended-string literals are constant expressions, not simple literals.
To insert nonprintable characters into a string literal from the command line,
you can use a double-quoted string literal and the \xnn escape sequence.
/[NO]CROSS_REFERENCE
/NOCROSS_REFERENCE (default)
Produces a cross-reference section within the listing file. The compiler ignores
this qualifier if you do not also specify /LIST on the same command line.
/[NO]DEBUG
/DEBUG=TRACEBACK (default)
Specifies that the compiler is to generate information for use by the debugger
and the run-time error traceback mechanism. A single identifier or a list of
identifiers enclosed in parentheses can follow /DEBUG; these identifiers are
the names of options that inform the compiler which type of information it
should generate.
Table 1–4 lists the available options, their corresponding actions, and their
negations.
1–10 Compiling HP Pascal Programs