At 06:44 AM 1/13/99 -0800, you wrote:
But not in most microcomputer BASICs. The Apple II,
Atari and C64 all lack
BEGIN-BEND, WHILE-WEND, block IFs; the 64 doesn't even have ELSE.
While-Wend (and Do While/Do Until) is just a shortcut for using If/Goto:
Do While Flag <> True
do some stuff
If condition then
Set Flag to True
end-if
loop
is the same as
:loop-in
If Flag = True Then
Goto loop-out
end-if
do some stuff
If condition Then
Set Flag to True
end-if
Goto loop-in
:loop-out
Spaghetti code is caused by bad programmers, not bad programming languages.
--------------------------------------------------------------------- O-
Uncle Roger "There is pleasure pure in being mad
roger(a)sinasohn.com that none but madmen know."
Roger Louis Sinasohn & Associates
San Francisco, California
http://www.sinasohn.com/