qbasicking
Programmer
I had a program working, but then i moved soem things around to make it work faster, but then it stopped working again. It's not a programming error, because it starts to run fine.
When it the main scripting language it does some weird things. Here's the code that giving me problems(it says that the subscripts are out of range)
IF comm$ = "IF=TO" AND variable$(aa,prog) =
variable$(bb,prog) THEN place(prog) = cc-1
this command is kinda like IF = THEN GOSUB. Qbasic tells me that one (or more) of the subscripts are out of range, but even it they were, it shouldn't even matter. i wrote the program that it is having trouble running, and I didn't even use the "IF=TO" command.
All of the strings are declare correctly, i looked over everything, and it looks right.
It also has a problem with
IF comm$ = "IF~TO" AND variable$(aa,prog) <>
variable$(bb,prog) THEN place(prog) = cc-1
When it the main scripting language it does some weird things. Here's the code that giving me problems(it says that the subscripts are out of range)
IF comm$ = "IF=TO" AND variable$(aa,prog) =
variable$(bb,prog) THEN place(prog) = cc-1
this command is kinda like IF = THEN GOSUB. Qbasic tells me that one (or more) of the subscripts are out of range, but even it they were, it shouldn't even matter. i wrote the program that it is having trouble running, and I didn't even use the "IF=TO" command.
All of the strings are declare correctly, i looked over everything, and it looks right.
It also has a problem with
IF comm$ = "IF~TO" AND variable$(aa,prog) <>
variable$(bb,prog) THEN place(prog) = cc-1