[Info-vax] BASIC (and Horizon)

Arne Vajhøj arne at vajhoej.dk
Fri Feb 2 08:56:06 EST 2024


On 2/2/2024 8:49 AM, Dan Cross wrote:
> In article <uphsad$2fg0v$3 at dont-email.me>,
> Lawrence D'Oliveiro  <ldo at nz.invalid> wrote:
>> On Thu, 1 Feb 2024 21:49:56 -0500, Arne Vajhøj wrote:
>>> The nested do while loop is a big mess.
>>
>> Looks like you are adding a whole lot more lines of code in the form of
>> jumps and places to jump to, and flags to control what to do when you get
>> there. Adding a bit of a combinatorial explosion in possible cases that
>> have to be verified somehow.
>>
>> In short, you are making a bigger mess.
> 
> Again, for this example, the code needs neither goto nor
> the abstruse loop structure you wrote.  See my earlier
> post for details.

He cut so much that the context was not obvious.

But his post was a reply to my post with generic
... blocks.

It is true the first specific example he provided
did not need to solve this problem if it was
restructured a little.

Arne





More information about the Info-vax mailing list