home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
insidetp
/
1990_08
/
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;