home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mega CD-ROM 1
/
megacd_rom_1.zip
/
megacd_rom_1
/
MAGAZINE
/
INSIDE_T
/
ITPAUG90.ZIP
/
TEST1.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1990-06-15
|
514b
|
27 lines
{************************************************
* TEST1.PAS draw stars, assuming a 320 x 200 *
* screen. *
************************************************}
PROCEDURE DrawPict;
VAR
L,X,Y : Integer;
BEGIN
X := 160;
Y := 100;
FOR L := 0 TO 39 DO BEGIN
DrawStar(X,Y,L,L,1);
Delay(15);
DrawStar(X,Y,L,L,0)
END;
FOR L := 40 DOWNTO 1 DO BEGIN
DrawStar(X,Y,L,L,1);
Delay(15);
DrawStar(X,Y,L,L,0)
END
END;