File: TEST.BAS

package info (click to toggle)
pcbasic 2.0.7-8
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 35,416 kB
  • sloc: python: 28,411; sh: 103; makefile: 10
file content (12 lines) | stat: -rw-r--r-- 340 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
1 ' test DRAW with turn angle (TA)
2 ' note how the aspect ratio is preserved
10 CLS:KEY OFF:SCREEN 1
20 FOR I = 0 TO 360 STEP 13
30 DRAW "ta=i;u90d90"
40 NEXT
45 ' true circle is not identical
50 'CIRCLE STEP (0,0),90
60 FOR I = 0 TO 360 STEP 13
70 DRAW "c2;ta=i;l90r90"
80 NEXT
90 DEF SEG=&HB800:BSAVE "drawing.bsv", 0, 32767