|
|
|
|
|
by jdblair
908 days ago
|
|
I remember when I finally figured out the point of GOSUB (I was maybe 13, so 1986), and why it was more powerful than GOTO. Still no stack, and the only calling convention was that RETURN would take you back to the line after where you called GOSUB. Writing this words now, I don't know that I ever looked into what happened if you called GOSUB from a GOSUB routine, or how deep you could call. That would imply some sort of stack! [edited to correct a typo] |
|
You can erase this stack explicitly by calling `CLEAR` (will also close open files and clear ALL variables).