1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 15:51:20 +00:00
QB64-PE/tests/qbasic_testcases/misc/ssaver.bas
Matthew Kilgore 9ee89d6ff4 Add QBasic tests
These tests use a variety of sample code (with some of the larger files
removed, so they are not complete!) and verifies that they all compile
successfully.
2022-04-28 23:00:07 -04:00

14 lines
283 B
QBasic

REM THIS PROGRAM IS IN T3H PUBLIC DOMAIN
SCREEN 12
LINE (0, 0)-(640, 480), 15, BF
DO
X = INT(RND(1) * 640)
Y = INT(RND(1) * 480)
Z = INT(RND(1) * 50) + 10
COLOUR = INT(RND(1) * 14) + 1
COLOR COLOUR
CIRCLE (X, Y), Z, COLOUR
PAINT (X, Y), COLOUR
IF INKEY$ = CHR$(27) THEN EXIT DO
LOOP