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: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54:
| unit Unit1;
interface
uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;
type TForm1 = class(TForm) Memo1: TMemo; procedure FormCreate(Sender: TObject); private public end;
var Form1: TForm1;
implementation
{$R *.dfm} var I:byte;
Procedure FLAK(pZahl,pZahl2:int64); var pZahl3:int64; Bla:string; Begin pzahl3:=pzahl+pzahl2; pzahl:=pzahl2; pZahl2:=pZahl3; Bla:= inttostr (pZahl3); Memo1.Lines.add(BLA); [b] i:=i+1; [b] FLAK(pZahl,pZahl2);
end;
procedure TForm1.FormCreate(Sender: TObject); const N:Byte=50; var BLA:string; Zahl,Zahl2:byte; begin zahl:=1; Bla:= inttostr (Zahl); Memo1.Lines.add(BLA); zahl2:=2; Bla:= inttostr (Zahl2); Memo1.Lines.add(BLA);
FLAK(Zahl,Zahl2); end;
end. |