I never code using goto. I had enough of that to last a lifetime in the 8-bit micro days.
10 PRINT "Hello World"20 GOSUB 2030 RETURN40 END
The stack will unwind and program will end when it reaches the RETURN statement.
(Score: 2) by turgid on Sunday June 02 2024, @04:34PM (1 child)
I never code using goto. I had enough of that to last a lifetime in the 8-bit micro days.
I refuse to engage in a battle of wits with an unarmed opponent [wikipedia.org].
(Score: 3, Funny) by DannyB on Monday June 03 2024, @02:10PM
10 PRINT "Hello World"
20 GOSUB 20
30 RETURN
40 END
The stack will unwind and program will end when it reaches the RETURN statement.
The Centauri traded Earth jump gate technology in exchange for our superior hair mousse formulas.