Skip to content
Sign upLog in
← Back to Community

I'm trying to get END IF to work...

Profile icon
IceChes1

I am using QBASIC and can't get END IF or GOTO to work for the life of me. Also, FOR loops are crashing my laptop.

Voters
Profile icon
IceChes1
Comments
hotnewtop
Profile icon
IceChes1

END IF does exactly what it sounds like: ends an IF statement.
When I try line numbers, I get a ton of syntax errors.

Profile icon
Vandesm14

First of all, you need to add line numbers to your code so the interpreter knows where to "goto". Secondly, I did some research and cannot find any such statement "END IF". Where did you find out about this command?