tw4777.pp 349 B

123456789101112131415161718192021222324252627
  1. { %fail }
  2. { Source provided for Free Pascal Bug Report 4777 }
  3. { Submitted by "Phil H." on 2006-02-06 }
  4. { e-mail: [email protected] }
  5. unit tw4777;
  6. {$mode objfpc}
  7. interface
  8. uses
  9. SysUtils;
  10. function GetVal(astr : string) : Integer;
  11. implementation
  12. function GetVal(const astr : string) : Integer;
  13. begin
  14. Result := StrToInt(astr);
  15. end;
  16. end.