Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.misc > #490
| Path | csiph.com!aioe.org!peer01.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx44.iad.POSTED!not-for-mail |
|---|---|
| Subject | Re: Program execution problem |
| Newsgroups | comp.lang.basic.misc |
| References | <FEc1H.81519$lZ.36976@fx12.iad> <ridf81$1mb9$1@adenine.netfront.net> |
| From | Robert Baer <robertbaer@localnet.com> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5 |
| MIME-Version | 1.0 |
| In-Reply-To | <ridf81$1mb9$1@adenine.netfront.net> |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Lines | 40 |
| Message-ID | <S3f3H.2222$6w2.829@fx44.iad> (permalink) |
| X-Complaints-To | DMCA@thecubenet.com |
| NNTP-Posting-Date | Mon, 31 Aug 2020 22:45:06 UTC |
| Date | Mon, 31 Aug 2020 15:45:04 -0700 |
| X-Received-Bytes | 2153 |
| X-Received-Body-CRC | 2946955528 |
| Xref | csiph.com comp.lang.basic.misc:490 |
Show key headers only | View raw
R.Wieser wrote: > Robert, > >> Notice the program stops at line 530 for no good reason, >> and all files are closed. > > Under QBasic 'end' terminates the program. Are you sure you didn't mean > 'end if' there ? * In one iteration of the program, that is what was intended.. > > (That all the files are closed could easily be part of PDS'es clean-up > activities before actually terminating) > >> in a section of the program, 6 statement lines got executed >> in 1,3,5,2,4,6 > > As you have not posted the involved code and I (we) do not have any kind of > mind-reading capabilities there is nothing I (we) can say about that. > >> One would think that a more regimented, line-numbered >> program would behave. > > It certainly enables you to write goto-enabled spagetti code (as in: > unreadable/trackable code). Why do you think most languages dropped the > 'goto' and/or strongly advice you NOT to use it ? :-) > > > Basic bug-hunting most often boils down to isolating the problem by removing > everything that does /not/ make the problem disappear (and sometimes > replacing variable and/or human input by fixed stuff). If you're lucky > you're left with a single line. :-) * Now THAT would be rather nice..do my taxes in one line... > > Regards, > Rudy Wieser > >
Back to comp.lang.basic.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Re: Program execution problem "R.Wieser" <address@not.available> - 2020-08-29 13:46 +0200
Re: Program execution problem Robert Baer <robertbaer@localnet.com> - 2020-08-31 15:45 -0700
Re: Program execution problem Rev1 Robert Baer <robertbaer@localnet.com> - 2020-08-31 21:32 -0700
Re: Program execution problem Rev1 "R.Wieser" <address@not.available> - 2020-09-01 10:02 +0200
Re: Program execution problem "R.Wieser" <address@not.available> - 2020-09-01 09:35 +0200
Re: Program execution problem Robert Baer <robertbaer@localnet.com> - 2020-09-01 13:30 -0700
Re: Program execution problem "R.Wieser" <address@not.available> - 2020-09-02 08:43 +0200
csiph-web