<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2900.2853" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff background="">
<DIV><FONT face=Arial size=2><FONT face="Times New Roman">I know it's pedantic
but I'm going to write it anyway:</FONT><BR></FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman">Kevin
wrote:</FONT><BR>All programs can be written using these very simple
constructs.<BR>1. Sequence <BR>2. Repetition (aka iteration or Loops) <BR>3.
Conditional Branching <BR>4. Combined Branching and Repetition <BR><BR><FONT
face="Times New Roman">Actually only three basic constructs are required to
write any program: 1, 2 and 3.<BR>4 is composed of two basic constructs (ie 2
and 3)<BR><BR>And </FONT></FONT><FONT face=Arial size=2><FONT
face="Times New Roman">Frank wrote:<BR></FONT>The following implementation of a
while loop that Mark Kelly found the other day, which is actually a
Repeat..Until loop in your theoretical sense but using different key words, says
it all....<BR>Do<BR>..<BR>Loop While <condition><BR><BR><FONT
face="Times New Roman">This loop is subly different from a Repeat..Until (and as
far as I know only available in MS versions of BASIC). It will execute the body
once and then after only WHILE the condition IS TRUE. A Repeat..Until executes
the body once and then continues looping UNTIL the condition BECOMES
TRUE.</FONT></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Personally, I don't think the post-test WHILE (or MS
xxxBASIC's pre-test UNTIL) ought ever be shown to students! </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Regards</FONT></DIV>
<DIV><FONT size=2>Robert T-A</FONT></DIV>
<DIV><FONT size=2>Brighton SC</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV></BODY></HTML>