Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why SCAN does not EXIT?
Message
De
20/08/2002 19:23:44
 
 
À
20/08/2002 18:45:29
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00689830
Message ID:
00691737
Vues:
20
>>Hmmm... I have been thinking a while ago about writing up a FAQ on coding shortcuts. <

That sounds too much like work!! <g>



>>Hilmar,
>>
>>>For a long time, I didn't know about this behavior, and used superfluous SELECT statements at the end of the loop.<
>>
>>Yep, it's one of my pet peeves! That's why I felt compelled to comment on it. <g> Also, another one that drives me crazy is people who put GO TOP before the SCAN. Totally NOT necessary!! (except in the case of a SCAN WHILE, and then it's probably not a GO TOP, but a LOCATE or SEEK or something).
>
>Hmmm... I have been thinking a while ago about writing up a FAQ on coding shortcuts. Shortcuts for simple things like:
>
>
>if a
>  if b
>    do_something()
>  endif
>endif
>
>
>or:
>
>
>if (a and not b) or (b and not a)
>
>
>or (arghh):
>
>
>if (condition)
>  x = .T.
>else
>  x = .F.
>endif
>
>
>or:
>
>
>if x = .T.
>
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform