WHY WHY WHY!!!!

ltk007

Banned
Feb 24, 2000
6,209
1
0
I keep getting a Loop without Do error in my Qbasic program
I have a do
I HAVE A FSCKING DO!

Can anyone help me, I think I'm done the program except for that one error(I can't test it though!) Its right here
 

ltk007

Banned
Feb 24, 2000
6,209
1
0
got it, apparently I can't have a do inside an if, but I can have an if inside a do :p

it doesn't work either :(
 

ltk007

Banned
Feb 24, 2000
6,209
1
0
hang on, I messed up the one part of it that was working, and I think once I get that I'm done. The one I had uploaded to my site is completely wrong.
 

GreenBeret

Golden Member
May 16, 2000
1,796
0
0
Write it in c/C++, Vbasic, Java, and Pascal instead. :p Not all schools are STOOPID :) enough to make you do Qbasic before something else.
 
Oct 9, 1999
15,216
3
81
I dont know where your going. I got it to work, but first i need to figure out why an CALL statement. Your not even using a subroutine, and your doing a CALL.
 

ltk007

Banned
Feb 24, 2000
6,209
1
0
I'm using a sub........
but if you were using the first thing uploaded, I was going in totally the wrong direction.

I've given up for tonight, and I'm really supposed to be doing this on my own :p, but when I'm done I'll get back to you guys.
 
Oct 9, 1999
15,216
3
81
well the program you gave me now works.. as long as the thing requires the answer to be "ZERO".

however i cant post because my machine is being screwy.. I cant cut and paste.. damn it.