Pascal preprocessor, Conditional variables – HP SunSoft Pascal 4.0 User Manual

Page 269

Advertising
background image

245

Pascal Preprocessor

A

This appendix describes the preprocessors,

cpp

(1) and

cppas

.

cpp

cpp

(1) is the C language preprocessor. Pascal runs your source program

through

cpp

(1) when you compile it without the

–xl

option. For a complete

description of

cpp

(1), see the Solaris documentation.

cppas

The

cppas

preprocessor handles the Pascal conditional variables and compiler

directives. You call

cppas

using the

–xl

option.

Conditional Variables

A conditional variable is defined when it appears in a

%var

directive;

otherwise, it is undefined. In addition, we predefine:

These variables are not predefined when you use

-s0

,

-s1

,

-V0

, or

-V1

.

__sun

__SVR4

sparc

__sparc

__SUNPRO_PC=0x400

unix

__unix

sun

Advertising