![](/images/backgrounds/286549/hp-sunsoft-pascal-4-0-users-manual-54939547x1.png)
3
When the compiler encounters an |
|
option followed by... | This is what happens... |
|
|
+ | The current value is pushed onto the stack, and |
| the current value becomes ON. |
|
|
- | The current value is pushed onto the stack, and |
| the current value becomes OFF. |
|
|
* | The last value is popped off the stack and |
| becomes the current value. |
|
|
If no values have been pushed onto the stack, the effect of * is undefined.
Figure
Program:
program options (output); begin
{$l+ Turns on listing} writeln ('After
{$l- Turns off listing} {Notice that this line prints.}
writeln ('After $l+'); {$l* Turns listing on again}
{Notice that this line does not print.} writeln ('After $l*')
end.
Output:
hostname% pc options.p
Fri Mar 1 17:33:18 1995 options.p:
4writeln ('After
5{$l- Turns off listing}
6{Notice that this line prints.}
10writeln ('After $l*')
11end.
Figure
Options
This section describes all the pc command options in alphabetical order. Unless otherwise stated at the beginning of the description for the option, all of these options work for both the Solaris 1.x and Solaris 2.x environments.
In general, processing of the compiler options is from left to right, so selective overriding of macros can be done. This rule does not apply to linker options.
The Pascal Compiler | 23 |