'goto" gone from computer languages or is it!

Ethan Dicks ethan.dicks at gmail.com
Thu May 12 17:04:01 CDT 2005


On 5/12/05, John Foust <jfoust at threedee.com> wrote:
> At 12:56 PM 5/12/2005, Allison wrote:
> >Often reading it is the challenge.  Goto within a subroutine
> >usually reads fine.  Its when there are subs within Loop/whiles
> >get mixed with gotos.
> 
> Even BASIC has a call stack that will eventually overflow.

On a 6502 (PET, Apple II...) it's not that deep because of the 1-page
stack.  ISTR about 5 levels of GOSUBs were possible before you ran the
risk of stack overflow, but it might have been as deep as 8.

-ethan



More information about the cctalk mailing list