Files
akbasic/tests/language/graphics/no_device.bas
Logikoma eb93bb7da0
All checks were successful
akbasic CI Build / cmake_build (push) Successful in 3m29s
akbasic CI Build / sanitizers (push) Successful in 4m42s
akbasic CI Build / coverage (push) Successful in 3m56s
akbasic CI Build / akgl_build (push) Successful in 8m34s
akbasic CI Build / mutation_test (push) Successful in 18m50s
Fix 80-column fixtures and tutorial expectations
2026-08-04 16:36:27 -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