The %slibrary directive, The %var directive, The %warning directive – HP SunSoft Pascal 4.0 User Manual

Page 287

Advertising
background image

Pascal Preprocessor

263

A

The

%slibrary

Directive

cppas

treats

%slibrar

y in the same manner as the

%include

directive. See

“The %include Directive” on page 259.

The

%var

Directive

The

%var

directive defines conditional variables for the preprocessor.

Syntax

%var

var1 ..., varN

Comments

A conditional variable is defined when it appears in a

%var

directive;

otherwise, it is undefined.

Example

See the example under “The %config Directive” on page 247.

The

%warning

Directive

The

%warning

directive instructs

pc

to print a string on the standard output

as a compiler warning.

Syntax

%warning

'

string

'

Comments

pc

produces an object file.

Advertising