Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacement for USE/SELE table with IF...ELSE...ENDIF
Message
From
02/10/2007 13:24:48
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01257862
Message ID:
01257993
Views:
19
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform