Files
akbasic/tests/language/graphics/no_device.bas
Logikoma bd63e3e9fa
Some checks failed
akbasic CI Build / cmake_build (push) Successful in 3m35s
akbasic CI Build / sanitizers (push) Successful in 4m40s
akbasic CI Build / coverage (push) Successful in 3m56s
akbasic CI Build / akgl_build (push) Has been cancelled
akbasic CI Build / mutation_test (push) Has been cancelled
Fix 80-column fixtures and tutorial expectations
2026-08-04 16:14:04 -04:00

9 lines
305 B
QBasic

10 REM The standalone driver lends the script no graphics device.
20 REM COLOR, LOCATE and SCALE touch interpreter state and must still work.
30 COLOR 1, 3
40 LOCATE 40, 50
50 SCALE 1, 640, 400
60 PRINT "STATE VERBS OK"
70 REM DRAW needs the device, and has to say which verb wanted it.
80 DRAW 1, 10, 10