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 General > Re: BBC and DEF...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 81 of 81 Topic 620 of 702
Post > Topic >>

Re: BBC and DEFINT etc [Was: Using GOTO]

by "news@[EMAIL PROTECTED] " <news@[EMAIL PROTECTED] > Sep 10, 2007 at 09:48 AM

On Sep 10, 4:44 pm, "Judson McClendon" <ju...@[EMAIL PROTECTED]
> wrote:
> But the initial conditions aren't meangless, they're simply false.

I disagree (again).  There are no Boolean terms at all in the BASIC
FOR statement, so there cannot be any concept of it being 'false'.
You are perhaps getting muddled with C, in which the 'for' statement
does include a Boolean term.  Or perhaps you are thinking about how
FOR..NEXT is implemented internally, which is equally irrelevant.

> The begin, end and step values can all be variables, determined
> at runtime.

Yes, but no combination of 'begin', 'end' and 'step' implies 'do
nothing'.  Rather than saying "I didn't go to the office today" do you
say "I came home from the office, without leaving home"?  Do you think
they mean the same thing?

> In "DO ... WHILE (condition)" the termination condition is located at
the
> bottom of the loop, and is tested at the bottom of the loop.

It's called REPEAT...UNTIL in BBC BASIC (the terminating condition is
the opposite of DO...WHILE: 'true' to exit the loop).

> In "FOR n  = begin TO end (condition) [STEP step] ... NEXT n" the
> termination condition is located at the top of the loop, and should be
> tested at the top of the loop.

I don't think the positioning of the FOR statement at the beginning of
the loop has any bearing on this whatsoever.

Richard.
http://www.rtrussell.co.uk/
To reply by email change 'news' to my forename.
 




 81 Posts in Topic:
Using GOTO
ppnerkDELETETHIS@[EMAIL P  2007-09-06 14:29:31 
Re: Using GOTO
Happy Trails <nomail@[  2007-09-06 11:51:52 
Re: Using GOTO
spambait@[EMAIL PROTECTED  2007-09-06 17:12:09 
Re: Using GOTO
ppnerkDELETETHIS@[EMAIL P  2007-09-07 04:26:16 
Re: Using GOTO
Happy Trails <nomail@[  2007-09-11 11:45:38 
Re: Using GOTO
"JJ" <stacko  2007-09-11 19:59:44 
Re: Using GOTO
Happy Trails <nomail@[  2007-09-13 07:30:56 
Re: Using GOTO
"news@[EMAIL PROTECT  2007-09-06 09:08:11 
Re: Using GOTO
Happy Trails <nomail@[  2007-09-06 15:18:36 
Re: Using GOTO
Happy Trails <nomail@[  2007-09-06 15:53:00 
Re: Using GOTO
"Gordon Rahman"  2007-09-06 23:04:46 
Re: Using GOTO
"news@[EMAIL PROTECT  2007-09-06 14:29:10 
Re: Using GOTO
Happy Trails <nomail@[  2007-09-06 21:32:15 
Re: Using GOTO
Eric <englere_geo@[EMA  2007-09-06 14:33:28 
Re: Using GOTO
Bert Byfield <BertByfi  2007-09-07 01:49:49 
Re: Using GOTO
"Gordon Rahman"  2007-09-07 01:26:05 
Re: Using GOTO
"R.Nicholson" &  2007-09-06 17:02:47 
Re: Using GOTO
Happy Trails <nomail@[  2007-09-06 21:37:58 
Re: Using GOTO
Bert Byfield <BertByfi  2007-09-07 01:52:00 
Re: Using GOTO
"Judson McClendon&qu  2007-09-07 06:21:26 
Re: Using GOTO
"R.Nicholson" &  2007-09-06 17:22:42 
Re: Using GOTO
"news@[EMAIL PROTECT  2007-09-07 01:47:13 
Re: Using GOTO
"news@[EMAIL PROTECT  2007-09-07 01:50:34 
Re: Using GOTO
"Gordon Rahman"  2007-09-07 12:52:11 
Re: Using GOTO
"news@[EMAIL PROTECT  2007-09-07 07:27:26 
BBC and DEFINT etc [Was: Using GOTO]
ppnerkDELETETHIS@[EMAIL P  2007-09-08 13:58:42 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-08 09:20:47 
Re: BBC and DEFINT etc [Was: Using GOTO]
Happy Trails <nomail@[  2007-09-08 12:35:58 
Re: BBC and DEFINT etc [Was: Using GOTO]
ppnerkDELETETHIS@[EMAIL P  2007-09-15 11:29:36 
Re: BBC and DEFINT etc [Was: Using GOTO]
budgie <me@[EMAIL PROT  2007-09-16 13:41:32 
Re: BBC and DEFINT etc [Was: Using GOTO]
ppnerkDELETETHIS@[EMAIL P  2007-09-16 09:56:21 
Re: BBC and DEFINT etc [Was: Using GOTO]
Happy Trails <nomail@[  2007-09-08 12:35:58 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-08 09:20:47 
BBC and DEFINT etc [Was: Using GOTO]
ppnerkDELETETHIS@[EMAIL P  2007-09-08 13:58:42 
Re: BBC and DEFINT etc [Was: Using GOTO]
"news@[EMAIL PROTECT  2007-09-08 09:14:03 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-10 07:59:48 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-10 07:59:48 
Re: BBC and DEFINT etc [Was: Using GOTO]
Derek <derekrss@[EMAIL  2007-09-08 23:44:55 
Re: BBC and DEFINT etc [Was: Using GOTO]
"news@[EMAIL PROTECT  2007-09-09 02:57:07 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-09 07:14:46 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-09 07:14:46 
Re: BBC and DEFINT etc [Was: Using GOTO]
"news@[EMAIL PROTECT  2007-09-09 08:43:28 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-09 11:28:45 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-09 14:24:47 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-09 14:21:39 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-09 16:44:45 
Re: BBC and DEFINT etc [Was: Using GOTO]
Happy Trails <nomail@[  2007-09-09 17:31:18 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-10 09:46:37 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-10 09:46:37 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-09 16:44:45 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-09 14:21:39 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-09 14:24:47 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-09 11:28:45 
Re: BBC and DEFINT etc [Was: Using GOTO]
"news@[EMAIL PROTECT  2007-09-09 15:28:28 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-09 20:10:59 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-10 10:44:36 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Judson McClendon&qu  2007-09-10 10:44:36 
FOR NEXT behavior
"news@[EMAIL PROTECT  2007-09-10 01:40:46 
Re: FOR NEXT behavior
"JJ" <stacko  2007-09-10 14:04:09 
Re: FOR NEXT behavior
Fred McKenzie <fmmck@[  2007-09-10 14:51:40 
Re: FOR NEXT behavior
"JJ" <stacko  2007-09-10 14:04:09 
Re: FOR NEXT behavior
Fred McKenzie <fmmck@[  2007-09-10 14:51:40 
Re: BBC and DEFINT etc [Was: Using GOTO]
"news@[EMAIL PROTECT  2007-09-10 05:14:37 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-10 14:17:55 
Re: BBC and DEFINT etc [Was: Using GOTO]
"JJ" <stacko  2007-09-10 20:08:48 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-10 15:44:28 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-10 15:53:08 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-10 15:53:08 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-10 15:44:28 
Re: BBC and DEFINT etc [Was: Using GOTO]
"Tom Lake" <  2007-09-10 14:17:55 
Re: FOR NEXT behavior
"news@[EMAIL PROTECT  2007-09-10 06:32:31 
Re: BBC and DEFINT etc [Was: Using GOTO]
"news@[EMAIL PROTECT  2007-09-10 09:48:04 
Re: Using GOTO
"R.Nicholson" &  2007-09-12 00:36:03 
FOR NEXT behavior
"R.Nicholson" &  2007-09-13 19:08:27 
Re: FOR NEXT behavior
"Tom Lake" <  2007-09-14 00:06:07 
Re: BBC and DEFINT etc [Was: Using GOTO]
"news@[EMAIL PROTECT  2007-09-08 09:14:03 
Re: BBC and DEFINT etc [Was: Using GOTO]
"news@[EMAIL PROTECT  2007-09-09 02:57:07 
Re: BBC and DEFINT etc [Was: Using GOTO]
"news@[EMAIL PROTECT  2007-09-09 08:43:28 
Re: BBC and DEFINT etc [Was: Using GOTO]
"news@[EMAIL PROTECT  2007-09-09 15:28:28 
Re: FOR NEXT behavior
"news@[EMAIL PROTECT  2007-09-10 06:32:31 
Re: BBC and DEFINT etc [Was: Using GOTO]
"news@[EMAIL PROTECT  2007-09-10 09:48:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Thu Nov 20 19:51:31 CST 2008.