44
Pascal 4.0 User’s Guide
3
The commands to compile
rr.p
and the
-Rw
warnings
that are issued
hostname% pc -Rw rr.p
Mon Feb 20 14:59:04 1995 pas/rr.p:
In procedure qq:
w 18280 field r1.b is used but never set
w 18280 field r1.a is used but never set
w 18280 field r2.b is used but never set
w 18280 field r2.a is used but never set
The Pascal main program,
recvar.p
(variant record)
program p;
procedure qq;
type r = record
x,y: integer;
case integer of
0:(a: integer);
1: (b: char);
end;
var v: r;
begin
v.x:= 1;
writeln(v.y);
end;
begin
qq;
end.
The commands to compile
recvar.p
hostname% pc -Rw recvar.p
Mon Feb 20 15:55:18 1995 recvar.p:
In procedure qq:
w 18260 field v.a is neither used nor set
w 18260 field v.b is neither used nor set
w 18280 field v.y is used but never set
hostname% a.out
0
Summary of Contents for SunSoft Pascal 4.0
Page 14: ...xiv Pascal 4 0 User s Guide ...
Page 16: ...xvi Pascal 4 0 User s Guide ...
Page 30: ...6 Pascal 4 0 User s Guide 1 ...
Page 160: ...136 Pascal 4 0 User s Guide 6 ...
Page 268: ...244 Pascal 4 0 User s Guide 11 ...
Page 320: ...296 Pascal 4 0 User s Guide B ...
Page 331: ...Index 307 ...
Page 333: ......