Cocker

Untitled

Apr 20th, 2011
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.16 KB | None | 0 0
  1. function TForm1.IsInteger(S: String): Boolean;
  2. begin
  3.   try
  4.     Result := True;
  5.     StrToInt(S);
  6.   except on E: EConvertError do
  7.     Result := False;
  8.   end;
  9. end;
Add Comment
Please, Sign In to add comment