home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-387-Vol-3of3.iso
/
p
/
pascal-.zip
/
pascal-
/
tests
/
deviance
/
kind
next >
Wrap
Text File
|
1992-11-21
|
321b
|
22 lines
{Kind errors}
program KindError;
const
a = integer;
type
T = array [2..1] of integer;
U = record f: a end;
var
x: integer;
y: U;
z: false;
procedure P(var x: integer; y: true);
begin end;
begin
x[1] := 1;
x.f := 1;
P(false, true);
x := P;
false := true;
y.g := 1;
end.