Add files via upload

This commit is contained in:
Андрей 2021-03-29 20:43:07 +04:00 committed by GitHub
parent 64c6352265
commit 35131ba393
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
90 changed files with 1738 additions and 0 deletions

View file

@ -0,0 +1,32 @@
SUB MAIN
GRAPHICS
SETCOLOR 0,0,0 // BLACK
GSAVE
TRANSLATE 100,100
SETCOLOR 255,0,0
CALL ROTATEDTEXT
GRESTORE
GSAVE
TRANSLATE 300,200
SETCOLOR 0,255,0
CALL ROTATEDTEXT
GRESTORE
REPAINT
SLEEP 5000
END SUB
SUB ROTATEDTEXT
DIM I AS INTEGER
DRAWLINE -10,0,10,0
DRAWLINE 0,-10,0,10
FOR I=0 TO 359 STEP 30
GSAVE
ROTATE I
DRAWSTRING "Angle=" + STR$(I), 40, 0
GRESTORE
END FOR
END SUB