unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls;
type
TForm1 = class(TForm)
GroupBox1: TGroupBox;
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Edit4: TEdit;
Edit5: TEdit;
Edit6: TEdit;
Edit7: TEdit;
Edit8: TEdit;
Edit9: TEdit;
Edit10: TEdit;
Edit11: TEdit;
Edit12: TEdit;
Edit13: TEdit;
Edit14: TEdit;
Edit15: TEdit;
Edit16: TEdit;
Edit17: TEdit;
Edit18: TEdit;
Edit19: TEdit;
Edit20: TEdit;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
Label7: TLabel;
Label8: TLabel;
Label9: TLabel;
Label10: TLabel;
Label11: TLabel;
Label12: TLabel;
Label13: TLabel;
Label14: TLabel;
Label15: TLabel;
Label16: TLabel;
Label17: TLabel;
Label18: TLabel;
Label19: TLabel;
Label20: TLabel;
GroupBox2: TGroupBox;
Edit21: TEdit;
Edit22: TEdit;
Edit23: TEdit;
Edit24: TEdit;
Edit25: TEdit;
Edit26: TEdit;
Edit27: TEdit;
Edit28: TEdit;
Edit29: TEdit;
Edit30: TEdit;
Edit31: TEdit;
Edit32: TEdit;
Edit33: TEdit;
Edit34: TEdit;
Edit35: TEdit;
Edit36: TEdit;
Edit37: TEdit;
Edit38: TEdit;
Edit39: TEdit;
Edit40: TEdit;
Button1: TButton;
GroupBox4: TGroupBox;
Edit41: TEdit;
Edit42: TEdit;
Edit43: TEdit;
Edit44: TEdit;
Edit45: TEdit;
Edit46: TEdit;
Edit47: TEdit;
Edit48: TEdit;
Edit49: TEdit;
Edit50: TEdit;
Edit51: TEdit;
Edit52: TEdit;
Edit53: TEdit;
Edit54: TEdit;
Edit55: TEdit;
Edit56: TEdit;
Edit57: TEdit;
Edit58: TEdit;
Edit59: TEdit;
Edit60: TEdit;
StatusBar1: TStatusBar;
GroupBox5: TGroupBox;
GroupBox3: TGroupBox;
GroupBox6: TGroupBox;
Label21: TLabel;
Label22: TLabel;
Label23: TLabel;
Label24: TLabel;
Label25: TLabel;
Label26: TLabel;
Label27: TLabel;
Label28: TLabel;
Label29: TLabel;
Label30: TLabel;
Label31: TLabel;
Label32: TLabel;
Label33: TLabel;
Label34: TLabel;
Label35: TLabel;
Label36: TLabel;
Label37: TLabel;
Label38: TLabel;
Label39: TLabel;
Label40: TLabel;
procedure Button1Click(Sender: TObject);
private
{ Private-Deklarationen }
u, o, Index: real;
public
{ Public-Deklarationen }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
u := StrToFloat(Edit1.text);
o := StrToFloat(Edit21.text);
u := StrToFloat(Edit2.text);
o := StrToFloat(Edit22.text);
u := StrToFloat(Edit3.text);
o := StrToFloat(Edit23.text);
u := StrToFloat(Edit4.text);
o := StrToFloat(Edit24.text);
u := StrToFloat(Edit5.text);
o := StrToFloat(Edit25.text);
u := StrToFloat(Edit6.text);
o := StrToFloat(Edit26.text);
u := StrToFloat(Edit7.text);
o := StrToFloat(Edit27.text);
u := StrToFloat(Edit8.text);
o := StrToFloat(Edit28.text);
u := StrToFloat(Edit9.text);
o := StrToFloat(Edit29.text);
u := StrToFloat(Edit10.text);
o := StrToFloat(Edit30.text);
u := StrToFloat(Edit11.text);
o := StrToFloat(Edit31.text);
u := StrToFloat(Edit12.text);
o := StrToFloat(Edit32.text);
u := StrToFloat(Edit13.text);
o := StrToFloat(Edit33.text);
u := StrToFloat(Edit14.text);
o := StrToFloat(Edit34.text);
u := StrToFloat(Edit15.text);
o := StrToFloat(Edit35.text);
u := StrToFloat(Edit16.text);
o := StrToFloat(Edit36.text);
u := StrToFloat(Edit17.text);
o := StrToFloat(Edit37.text);
u := StrToFloat(Edit18.text);
o := StrToFloat(Edit38.text);
u := StrToFloat(Edit19.text);
o := StrToFloat(Edit39.text);
u := StrToFloat(Edit20.text);
o := StrToFloat(Edit40.text);
Index := u / o
Label21.Caption := FloatToStr(Index);
Label22.Caption := FloatToStr(Index);
Label23.Caption := FloatToStr(Index);
Label24.Caption := FloatToStr(Index);
Label25.Caption := FloatToStr(Index);
Label26.Caption := FloatToStr(Index);
Label27.Caption := FloatToStr(Index);
Label28.Caption := FloatToStr(Index);
Label29.Caption := FloatToStr(Index);
Label30.Caption := FloatToStr(Index);
Label31.Caption := FloatToStr(Index);
Label32.Caption := FloatToStr(Index);
Label33.Caption := FloatToStr(Index);
Label34.Caption := FloatToStr(Index);
Label35.Caption := FloatToStr(Index);
Label36.Caption := FloatToStr(Index);
Label37.Caption := FloatToStr(Index);
Label38.Caption := FloatToStr(Index);
Label39.Caption := FloatToStr(Index);
Label40.Caption := FloatToStr(Index);
end;
end.