Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
circle help
#1
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!
teven K Voytek
Reply
#2
i get no error when i run it in qb4.5
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#3
Quote:LINE (412, 232)- (402, 340), 15

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

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


I still think nothing is wrong with it.
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#5
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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)