254
Pascal 4.0 User’s Guide
A
The
%enable
Directive
The
%enable
directive sets a conditional variable to
true
.
Syntax
%enable
var1 ..., varN
Comments
A defined conditional variable is
enable
(
true
) when it appears in either the
%enable
directive or in the
-config
option. Conditional variables are
false
by default.
The
include
file,
bird.h
var
a: array[1..7] of char := 'penguin';
b: array[1..6] of char := 'toucan';
%var bird1
The output when you enable
bird1
with the
-config
option
hostname% pc -xl -config bird1 ifdef.p
hostname% a.out
Bird two is a penguin.
The output when you enable
bird2
with the
-config
option
hostname% pc -xl -config bird2 ifdef.p
hostname% a.out
Bird two is a toucan.
Содержание SunSoft Pascal 4.0
Страница 14: ...xiv Pascal 4 0 User s Guide ...
Страница 16: ...xvi Pascal 4 0 User s Guide ...
Страница 30: ...6 Pascal 4 0 User s Guide 1 ...
Страница 160: ...136 Pascal 4 0 User s Guide 6 ...
Страница 268: ...244 Pascal 4 0 User s Guide 11 ...
Страница 320: ...296 Pascal 4 0 User s Guide B ...
Страница 331: ...Index 307 ...
Страница 333: ......