Please tell me how to use GOTO in QBasic
Please tell me what is the mistake in htis repl
RYANTADIPARTHI
Just do this:
1 PRINT "1" 2 GOTO somenumber
and so on
Coder100
Have you tried adding line numbers?
1 PRINT "1" 2 PRINT "2" 3 PRINT "3" 4 GOTO 8 5 PRINT "5" 6 PRINT "6" 7 PRINT "7" 8 PRINT "8" 9 PRINT "9"
Wumi4
You need to type number line after the command like this:
10 PRINT "1" ... 40 GOTO 80 ... 80 PRINT "8" 90 PRINT "9"
Skip the "..." part. They are for clarity.
This dose not work