'goto" gone from computer languages or is it!

Vintage Computer Festival vcf at siconic.com
Fri May 13 13:30:27 CDT 2005


On Thu, 12 May 2005, Ethan Dicks wrote:

> 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.

I'm pretty sure Applesoft BASIC had up to 16 levels.

-- 

Sellam Ismail                                        Vintage Computer Festival
------------------------------------------------------------------------------
International Man of Intrigue and Danger                http://www.vintage.org

[ Old computing resources for business || Buy/Sell/Trade Vintage Computers   ]
[ and academia at www.VintageTech.com  || at http://marketplace.vintage.org  ]



More information about the cctalk mailing list