All pastes #596637 Raw Edit

isim

public text v1 · immutable
#596637 ·published 2007-06-30 02:32 UTC
rendered paste body
unit Unit2;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;

type
  TForm1 = class(TForm)
    Edit1: TEdit;
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
var
x:integer;
var
z:integer;

begin
x:=0 ;
x:=x+1 ;
z:=x mod 5;
if(z=0) then (edit1.text:='B');
if(z=1) then (edit1.text:='Bu');
if(z=2) then (edit1.text:='Bur');
if(z=3) then (edit1.text:='Bura');
if(z=4) then (edit1.text:='Burak');
end;

end.