HP SunSoft Pascal 4.0 Bedienungsanleitung Seite 45

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 333
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 44
The Pascal Compiler 21
3
Option-Passing on the Command-Line
To pass an option on the command-line, use a dash (-) followed by the option
name. In some cases, you must supply additional information, such as a file
name. For example, this command activates the listing option -l, which is off
by default:
hostname% pc -l rmc.p
The following command causes the generated object file to be named rmc
instead of the default, a.out.
hostname% pc -o rmc rmc.p
Option-Passing in the Program Text
Some options can be passed to the compiler in program text as well as on the
command-line. With this facility, you can use different option values for
different parts of a program.
Here are four examples of how options can be passed in program text:
{$P+}
{$H*}
(*$I-*)
{$l+,L-,n+}
Table 3-2 shows the options that can be passed in program text.
Table 3-2 Options That Can Be Passed in Program Text
Option Description
b Uses buffering of the file output.
C Uses runtime checks (same as t).
calign Uses C data formats.
H Uses check heap pointers.
l Makes a listing.
L Maps identifiers and keywords to lowercase.
p Uses statement limit counting (different from command-line p
1
). See
stlimit in the Pascal 4.0 Reference Manual.
Seitenansicht 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 332 333

Kommentare zu diesen Handbüchern

Keine Kommentare