fpc/tests/webtbs/tw0701a.pp
2000-11-30 22:38:14 +00:00

19 lines
241 B
ObjectPascal

var
s : string;
procedure UseString(const as : string);
begin
s:=as;
end;
procedure MyExit;
begin
Writeln('Last call to UseString was with as = ',s);
end;
begin
exitproc:=@MyExit;
UseString('Dummy test');
end.