Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacement for USE/SELE table with IF...ELSE...ENDIF
Message
De
02/10/2007 13:24:48
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
02/10/2007 12:33:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01257862
Message ID:
01257993
Vues:
20
>Now you see, I even deplore the use of ! for NOT. Saves 2 keystokes (but with the added nuisance of having to shift) - big deal! It's less readable. But Scan-endscan doesn't need the select and skip business cos its name IMPLIES it's SCANNING the table - so far more readable

In the same way, Select("myalias") implies the workarea or zero (i.e. next available workarea) if not used("myalias"). The USE... IN {WA} likewise implies that the table won't necessarily (but may accidentally) be opened in the current workarea - because we're specifying one.

Now, any programmer worth his pay knows these implications when he sees them, doesn't (s)he? ;)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform