Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I use labels in SUBs
#2
You appear to have stumbled on a not-well-documented limitation of QBASIC: the ON...GOTO/GOSUB commands must refer to a module-level label or line number

PDS 7.1 has ON LOCAL ERROR to allow this for ON ERROR, but not for the other commands.
Reply


Messages In This Thread
Can I use labels in SUBs - by jhesski - 06-04-2020, 10:05 PM
RE: Can I use labels in SUBs - by jofers_ - 08-11-2020, 01:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)