Re: loop do .. until end loop is surely incorrect!

new topic     » goto parent     » topic index » view thread      » older message » newer message
bill said...
bill said...

I believe the second implementation of find_all is better than the first, because:

  • A 'while TRUE' to loop does not document a termination condition and seems to imply an infinite loop.

However, eg while from>0 with entry do is far worse as it strongly implies the loop will not be iterated at all if from is <=0 at the start.

Regards,
Pete

PS Not entirely sure who is talking to who here

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu