
The Pascal Compiler 25
3
The –b option on the command-line turns on block-buffering with a block size
of 1,024. You cannot turn off buffering from the command-line.
If you give the –b option in a comment in the program, you can turn off
buffering or turn on block buffering. The valid values are:
Any number greater than 2 (for example, {$b5}) is treated as {$b2}. You can
only use this option in the main program. The block buffering value in effect
at the end of the main program is used for the entire program.
-bsdmalloc
(Solaris 1.x only) The -bsdmalloc option specifies faster malloc and uses the
more efficient malloc from the library, libbsdmalloc.a. This option also
causes the flags, -u _malloc /lib/libbsdmalloc.a, to be passed to the
linker.
–C
The –C option enables runtime checks that verifies that:
• Subscripts and subranges are in range.
• The number of lines written to output does not exceed the number set by
the linelimit procedure. (See the Pascal 4.0 Reference Manual for
information on linelimit.)
• Overflow, underflow, and divide-by-zero do not exist.
• The assert statement is correct. (See the Pascal 4.0 Reference Manual for
information on assert.)
If you do not specify –C, most runtime checks are disabled, and pc treats the
assert statement as a comment and never uses calls to the linelimit
procedure to halt the program. However, divide-by-zero checks are always
made.
The –V0 and –V1 options implicitly turn on –C.
{$b0} No buffering
{$b1} Line buffering
{$b2} Block buffering. The block size is 1,024.
Komentarze do niniejszej Instrukcji