mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-07 20:52:36 +02:00
40 lines
404 B
ObjectPascal
40 lines
404 B
ObjectPascal
unit InitVars1;
|
|
|
|
{$mode objfpc}{$H+}
|
|
|
|
interface
|
|
|
|
uses
|
|
Classes, SysUtils;
|
|
|
|
implementation
|
|
|
|
procedure TestInteger(i: integer);
|
|
begin
|
|
writeln(i);
|
|
end;
|
|
|
|
procedure DoSomething;
|
|
var
|
|
i: integer;
|
|
begin
|
|
TestInteger(i);
|
|
end;
|
|
|
|
procedure TestLots({%H-}s: string; {%H-}c: char; {%H-}p: pointer);
|
|
begin
|
|
|
|
end;
|
|
|
|
procedure DoLots;
|
|
var
|
|
s: string;
|
|
c: char;
|
|
p: Pointer;
|
|
begin
|
|
TestLots(s,c,p);
|
|
end;
|
|
|
|
end.
|
|
|