Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Misc > Re: BBC BASIC f...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 1288 of 1583
Post > Topic >>

Re: BBC BASIC for Windows version 5.70a released

by david.williams@[EMAIL PROTECTED] (David Williams) Sep 3, 2007 at 09:52 AM

-> You are entitled to your opinion, and it's certainly a subject on 
-> which there are strongly held views!  However I can assure you that 
-> I'm not some sort of masochist; my choice to write BBC BASIC programs 
-> entirely without GOTOs for the last 25 years is not to cleanse the 
-> soul!  It just never occurs to me to use a GOTO, and I can honestly 
-> say that I never feel the lack of it. 
  
I don't use GOTO often. In many programs, I don't use it at all. But 
there are occasions when I find it useful. For example, a program may 
do a long set of operations and, at the end, ask the user if he wants 
to do it all again, presumably with a different set of inputs. Then I 
might have a line such as: 
  
IF Choice$ = "Y" GOTO Start 
  
Start, of course is some label back at the beginning of this long loop. 
Doing it this way is, I think, both easier and more legible than 
writing some long DO...LOOP, or any other equivalent structure. 
  
Incidentally, does anyone here know why the word THEN is *not* 
necessary in Microsoft BASICs in IF...GOTO... statements? 
  
                         dow
 




 2 Posts in Topic:
Re: BBC BASIC for Windows version 5.70a released
david.williams@[EMAIL PRO  2007-09-03 09:52:46 
Re: BBC BASIC for Windows version 5.70a released
"news@[EMAIL PROTECT  2007-09-03 08:54:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 18:33:43 CDT 2008.