Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
include c:\cxpl\codes; \intrinsic 'code' declarations
|
||||
int X, Y, C, R2;
|
||||
[SetVid($13); \set 320x200x8 graphics mode
|
||||
C:= 0; \initialize point counter
|
||||
repeat X:= Ran(31)-15; \range -15..+15
|
||||
Y:= Ran(31)-15;
|
||||
R2:= X*X + Y*Y;
|
||||
if R2>=10*10 & R2<=15*15 then
|
||||
[Point(X+160, Y+100, $F); C:= C+1];
|
||||
until C >= 100;
|
||||
C:= ChIn(1); \wait for keystroke
|
||||
SetVid(3); \restore normal text mode
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue