![](/images/backgrounds/286549/hp-sunsoft-pascal-4-0-users-manual-549395288x1.png)
A
The Pascal program, warning.p
The output when you compile warning.p without the
Example
program warning_example(output);
{This program demonstrates the use of the %warning compiler directives. }
%var blue
begin
%if blue %then
writeln('The color is blue.'); %else
%warning 'Color not defined' %endif
end. { warning_example }
hostname% | pc |
|
Fri Mar 3 | 15:03 1995 warning.p | |
Line 12:%warning 'Color not defined' | ||
w | 'Architecture not defined' | |
|
|
|
264 | Pascal 4.0 User’s Guide |