home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
MBUG
/
MBUG066.ARC
/
FWD.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1979-12-31
|
384b
|
24 lines
(* forward procedure declaration test *)
procedure b; forward;
procedure a(this,that:word);
begin
this:=that;
that:=this;
b(1,2);
a(13,13);
b(3,4)
end; (* procudure a *)
procedure b(parm1,parm2:word); backward;
begin
parm1:=parm1*parm2;
a(13,13);
b(5,6)
end,; (* procedure b *)
begin (* main line *)
a(7,8);
b(9,10)
end,.