Académique Documents
Professionnel Documents
Culture Documents
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;