Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I create classes in a vcx programatically?
Message
 
To
22/12/2006 15:52:26
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01179343
Message ID:
01180792
Views:
13
Been using that forever. I wish more people would simplify a simple IF...ENDIF to the more direct approach, as in your example.

And then there's the code like this:
SomeVar = IIF(a = b, .t., .f.)
That one drives me nutty, since it should be
SomeVar = a = b
>Did you ever try the ifless construct?
>
llEven=mod(c,2)=0
>I'm not saying it's possible each time, nor that it's necessarily better than an ifelsendif, only that we shouldn't avoid it. Sometimes it may do nice to replace your five-liner with a one-liner. And it should work the same, for even, "even", odd and "odd" numbers.
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Previous
Reply
Map
View

Click here to load this message in the networking platform