blob: 237b17be770bb9413f386f0ad047c561374f885c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ %fail }
{ Source provided for Free Pascal Bug Report 4777 }
{ Submitted by "Phil H." on 2006-02-06 }
{ e-mail: pjhess@purdue.edu }
unit tw4777;
{$mode objfpc}
interface
uses
SysUtils;
function GetVal(astr : string) : Integer;
implementation
function GetVal(const astr : string) : Integer;
begin
Result := StrToInt(astr);
end;
end.
|