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

Carl Banks idot at vt.edu
Fri Feb 15 18:36:41 EST 2002


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.


-- 
CARL BANKS                                http://www.aerojockey.com
"Nullum mihi placet tamquam provocatio magna.  Hoc ex eis non est."



More information about the Python-list mailing list