Game on Basic! + some tests, drawbitmap upd

This commit is contained in:
Андрей 2021-06-16 09:41:46 +04:00 committed by GitHub
parent 114eabe5aa
commit cc8fd24a10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 385 additions and 0 deletions

23
temp/main.bas Normal file
View file

@ -0,0 +1,23 @@
SUB MAIN
DIM STOP AS BOOLEAN
DIM A, R AS INTEGER
DIM TEMP AS DOUBLE
DIM ITEMS(2) AS STRING
ITEMS(1)="START"
ITEMS(2)="EXIT"
WHILE NOT STOP
R = SELECT("SELECT ACTION",ITEMS,FALSE)
IF R = 1 THEN
PRINT("WAIT...")
SLEEP 1000
TEMP = ROUND(RND(60)*6,2)
A = ALERT(STR$(TEMP),"DONE", "OK","","", TRUE)
ELSE
STOP = TRUE
END IF
END WHILE
END SUB