| You're totally right.  I made another program, by just editing this one:
 
 ViewWindow -1,2,1,-1,1,1 Deg
 "Number of sides"?->A
 Intg A->A
 360/A->B
 If A<1
 Then 1->A
 IfEnd
 Circle 0,0,1
 For 0->L To A-1
 cos (LB+(B/2-90))->C
 sin (LB+(B/2-90))->D
 0->E
 0->F
 F-Line E,F,C,D
 Next
 This program divides a circle into X equal parts.
 |