Better samples for Pascal

This commit is contained in:
Paul Chaignon
2015-01-24 01:32:56 +01:00
parent f854a12043
commit c7668ad882
4 changed files with 169 additions and 51 deletions

26
samples/Pascal/tw27294.pp Normal file
View File

@@ -0,0 +1,26 @@
uses
uw27294;
var
p : procedure;
procedure test;
begin
p:=@test;
writeln('OK');
end;
procedure global;
begin
p:=nil;
test;
p();
end;
begin
global;
uw27294.global;
end.