Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Please explain 'DO WHILE .T.'
Relative newbie question....
I'm supporting a VFP6 app written by a developer who was familiar with FPW 2.6 and never really took the time to get up to speed on VFP6. In several places, he uses the DO WHILE .T. .... ENDDO construct.
Hacker's Guide describes it as being a poor programming practice, but doesn't explain the logic. Help has an example in the DO WHILE article, but doesn't explain what is being tested for a .T. condition.
My problem is in thinking through the logic. What is the condition being evaluated, and when does it evaluate to .T. or .F.?
Can someone please enlighten me?
Thanks and Merry Christmas.....
Neil Preston
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement