Você está na página 1de 2

Algoritma & Bahasa Pemrograman 1

Nama Panggilan : YUDHI ( 75 )


Jurusan : TI - D { Semester I }
NIM : 41091110

Program Animasi_Bergerak;
Uses wintypes,winprocs,wincrt;
var
a : integer;
Procedure
Delay (msec : integer);
var
time : longint;
msg : tmsg;
Begin
time := gettickcount;
inc (time,msec);
while gettickcount < time do
Begin
If peekmessage (msg,0,0,0,pm_remove) then
Begin
If msg.message = wm_quit then
Begin
postquitmessage (msg.wparam);
exit
end;
translatemessage (msg);
dispatchmessage (msg)
end;
end;
end;
Begin
For A := 1 to 11 do
Begin
clrscr;
GotoXY(A,10);Write(' [ TI ] STMIK IKMI CIREBON');
Delay (100);
End;
For A := 11 to 22 do
Begin
clrscr;
GotoXY(A,9);Write(' [ MI ] STMIK IKMI CIREBON');
Delay (100);
End;
For A := 22 to 33 do
Begin
clrscr;
GotoXY(A,8);Write(' STMIK IKMI CIREBON');
Delay (100);
End;
For A := 33 to 44 do
Begin
clrscr;
GotoXY(A,9);Write(' STMIK IKMI CIREBON [ KA ]');
Delay (100);
End;
For A := 44 to 55 do
Begin
clrscr;

YUDHI [ TI-D ] Program Animasi Sederhana


Algoritma & Bahasa Pemrograman 1
GotoXY(A,10);Write('STMIK IKMI CIREBON [ TKJ ]');
Delay (100);
End;
For A := 44 Downto 33 do
Begin
clrscr;
GotoXY(A,11);Write(' STMIK IKMI CIREBON [ KKPI ]');
Delay (100);
End;
For A := 33 Downto 22 do
Begin
clrscr;
GotoXY(A,12);Write(' STMIK IKMI CIREBON');
Delay (100);
End;
For A := 22 Downto 1 do
Begin
clrscr;
GotoXY(A,11);Write('[ JENI ] STMIK IKMI CIREBON');
Delay (100);
End;
For A := 1 to 29 do
Begin
clrscr;
GotoXY(A,9);Write(' STMIK IKMI CIREBON');
Delay (100);
End;
For A := 29 to 48 do
Begin
GotoXY(A,8);Write('*');Delay (50);
GotoXY(A,10);Write('*');Delay (50);
End;
For A := 20 to 20 do
Begin
GotoXY(A,12);Write('Jalan Perjuangan 10 B Majasem, Cirebon');
End;
For A := 20 to 20 do
Begin
GotoXY(A,14);Write(' E-Mail : stmik_ikmi@yahoo.com');
End;
For A := 20 to 20 do
Begin
GotoXY(A,16);Write(' Website : http://www.ikmi.ac.id');
End;
End.

YUDHI [ TI-D ] Program Animasi Sederhana

Você também pode gostar