🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.folklore.computers
Article #4214

Re: Stupid programming errors.

#4214
From: j... John Kallen
Date: Tue, 04 Sep 1990 23:00
16 lines
1302 bytes
This thread brings to memory one of my most frustrating experiences as
a novice BASIC programmer. I was writing a Really Cool (TM) graphics
program on the Trash-80 Model I (R.I.P.) and entered an infinite loop
for some reason. Examining the code yielded

1000 FOR I=1 TO 100
1010 REM SOME CODE HERE
1020 GOTO 1000
1030 NEXT I

For some reason I had decided to "help" the FOR loop with a GOTO!
_______________________________________________________________________________
 | |   |   |    |\ | |   /|\ | John Kallen                "Stonehenge is very 
 | |\ \|/ \|  * |/ | |/|  |  | 3232 Round Hill Dr.         nutritious."
 | |\ /|\  |\ * |\ |   |  |  | Hayward CA 94345                  - Migato Gami
_|_|___|___|____|_\|___|__|__|_1-415-886 6323__________________________________
Technical Details
Message-ID: <1990Sep4.230054.7245@Neon.Stanford.EDU>
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!neon!jkl
References: <74@iconsys> <Z38To4w162w@vector0>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!gmdzi!unido!mcsun!uunet!shelby!neon!jkl
From: j...@Neon.Stanford.EDU (John Kallen)
Newsgroups: alt.folklore.computers
Subject: Re: Stupid programming errors.
Message-ID: <1990Sep4.230054.7245@Neon.Stanford.EDU>
Date: 4 Sep 90 23:00:54 GMT
References: <74@iconsys> <Z38To4w162w@vector0>
Organization: Computer Science Department, Stanford University
Lines: 16
Posted: Wed Sep  5 00:00:54 1990
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit