Demonstrates the difference between OVER 0 and OVER 1.
Content
Source Code
10 INPUT " OVER (1 OR 0) ";o: INPUT " LINES ";l
15 OVER o
20 LET lines=l
30 LET a=0: LET angle=2*PI/lines
40 FOR i=1 TO lines
50 LET x=85*COS a
60 LET y=85*SIN a
70 PLOT 128,88
80 DRAW x,y
90 LET a=a+angle
100 NEXT i
110 OVER 0
120 STOP
Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.
