Why Python is like BASIC (and why this is a good thing)

Dan Bishop danb_83 at yahoo.com
Sat Feb 16 15:30:50 EST 2002


Carl Banks <idot at vt.edu> wrote in message news:<926k4a.3a.ln at 127.0.0.1>...
> Gillou wrote:
> >>
> >> * NO LINE NUMBERS! Enough said.
>  ...
> >>   IF condition GOSUB line-number (I never did understand the necessity
> >>   for that kind of statement until well after I'd stopped using BASIC
> >>   entirely and moved to more "modern" languages like... Pascal).
> > 
> > Only old men like you and me remember this
> 
> Hi.
> 
> I remember using calculated GOSUB, something like this, in GW-BASIC:
> 220 ON LEVEL GOSUB 1000,2000,3000,4000,5000,...
> It was for a crude level-based video game.  I'm 25 now.

Atari BASIC even allowed statements like

220 GOSUB LEVEL*1000

Yuck!



More information about the Python-list mailing list