ANSWERS: 1
  • A Goto command tells a program that the next command it must execute is not the next in sequence, but a specific command someplace else in the program. GOTO would tell the program to cease reading the next logical line, and instead read the line number given in the goto statement and start executing from that point instead. GOSUB is similar, except that GOTO is a permanant redirection, while GOSUB only executes code until it hits a RETURN statement, whereupon it jumps back to the line after GOSUB and starts executing code again on the line immediately following.

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy