mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 12:51:34 +02:00
* using a nested function
This commit is contained in:
parent
76f5fbd7db
commit
44334710e6
@ -3,13 +3,21 @@ unit ub0461;
|
||||
interface
|
||||
procedure p1;inline;
|
||||
implementation
|
||||
|
||||
procedure p1;inline;
|
||||
var
|
||||
i,k : longint;
|
||||
|
||||
procedure f;
|
||||
begin
|
||||
i:=20;
|
||||
k:=i*10;
|
||||
writeln('hello ',k);
|
||||
end;
|
||||
|
||||
begin
|
||||
i:=20;
|
||||
k:=i*10;
|
||||
writeln('hello ',k);
|
||||
f;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user