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
[ Old computing resources for business || Buy/Sell/Trade Vintage Computers ]
[ and academia at