Qbasicnews.com

Full Version: circle help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
why won't the following line work, it keeps giving me an Expected:= message everytime I try and run it. (*Note BOLDED line is problem)

CLS
SCREEN 12
PI= 3.1415927#
CIRCLE (320, 140), 130, 15, 7*PI/4, 5*PI/4
LINE (228, 232)-(238, 340), 15
CIRCLE (260, 340), 22, 15, PI, 3*PI/2
LINE (412, 232)- (402, 340), 15
CIRCLE (380, 340), 22, 15, 3*PI/2, 2*PI
LINE (260, 362)-(380, 362), 15
PAINT (320, 240), 15
END



Now why won't this work???? Thanx in advance!
i get no error when i run it in qb4.5
Quote:LINE (412, 232)- (402, 340), 15

Remove the space after the '-' perhaps.
no that's needed

http://qbasicnews.com/qboho/qckline.shtml


I still think nothing is wrong with it.
runs fine for me too.

A# = 3 * PI / 2
B# = 2 * PI
CIRCLE (380, 340), 22, 15, A#, B#

What about that? Does that run ok for you?