Guest User

Untitled

a guest
Jun 19th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. unit Unit1;
  2.  
  3. interface
  4.  
  5. uses
  6. Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  7. Dialogs, StdCtrls, Buttons;
  8.  
  9. type
  10. TfrmAccess = class(TForm)
  11. btnProcess: TButton;
  12. lstDisplay: TListBox;
  13. bmpClear: TBitBtn;
  14. bmpClose: TBitBtn;
  15. lblName: TLabel;
  16. procedure btnProcessClick(Sender: TObject);
  17. private
  18. { Private declarations }
  19. public
  20. { Public declarations }
  21. end;
  22.  
  23. var
  24. frmAccess: TfrmAccess;
  25.  
  26. implementation
  27.  
  28. {$R *.dfm}
  29.  
  30. function fAccess(input : string) : boolean;
  31. var
  32. flag : boolean;
  33. sum : integer;
  34. begin
  35. flag := true;
  36. sum := 0;
  37. end;
  38.  
  39. procedure TfrmAccess.btnProcessClick(Sender: TObject);
  40. var
  41. iInput : integer;
  42. begin
  43. iInput := StrToInt(inputbox('Insert', 'Number here', '123456789034'));
  44. fAccess(input);
  45. end;
  46.  
  47. end.
Add Comment
Please, Sign In to add comment