home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pccts.zip
/
pccts
/
lang
/
Pascal
/
test.p
< prev
next >
Wrap
Text File
|
1994-03-31
|
484b
|
25 lines
program convert(output);
type color = (white, red, blue, yellow, purple, green);
xx = 'a'..'z';
duh = array[white..green] of real;
person = record
ss : integer;
sex : (male,female);
birth : color;
case ms : color of
white,red : (mdate:integer);
blue : (ddate:integer; firstd:integer)
end;
var a : color;
b : array [1 ..3,2 ..5,2 ..9] of person;
c : file of real;
begin
with b[white,3,3] do begin
a := red;
b[white,3,3]^.d[3] := 3.14159
end
end.