lazarus/components/codetools/examples/scanexamples/usedunitrefs1.pas
mattias 5364c52f95 codetools: FindUsedUnitReferences
git-svn-id: trunk@42681 -
2013-09-08 19:19:55 +00:00

29 lines
319 B
ObjectPascal

unit UsedUnitRefs1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, math, process;
implementation
procedure DoSome;
var
c: TComponent;
d: float;
i: Int64;
begin
c:=TComponent.Create(nil);
c.Free;
d:=1.3;
i:=round(d);
writeln(i+abs(d));
writeln(sin(d));
writeln(MinFloat<d);
end;
end.