Groups | Search | Server Info | Login | Register
Groups > comp.lang.basic.misc > #490
| 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> |
| Message-ID | <S3f3H.2222$6w2.829@fx44.iad> (permalink) |
| Date | 2020-08-31 15:45 -0700 |
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