Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding Standards
Message
De
08/07/1998 14:07:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115272
Message ID:
00115386
Vues:
22
George --

I find myself almost never using DO WHILE anymore after FOR...ENDFOR and SCAN..ENDSCAN came into the language. If fact, I just checked this big-ass project I've been working on and could not find a single DO WHILE...

Oh well, to each his own.

>With me it was Pascal and interpreted BASIC. And yes, as I recall, they did (but then again, my memory these days isn't what it used to be. At least that's what my wife tells me). Even given this, however, I'd rather stick (and not because I'm stuboorn) with the practices I have now. I tend to think of FOR..ENDFOR as executing a fixed number of iterations. DO WHILE...ENDDO executes 0 or more times (I want a post-test (1 or more) iteration structure in VFP, BTW). It's an old habit, perhaps even discipline. You know how hard it is to teach old dogs new tricks.:-)
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform