Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To iif or not to iif = .t.
Message
From
31/05/2001 17:18:51
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
31/05/2001 14:23:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00513276
Message ID:
00513457
Views:
16
>
if a=b
>   c=.f.
>else
>   c=.t.
>endif
>
>I always use the short form personnally [c = !(a=b)], but I recently had to use the form you noted above because I was doing training and the other guy finds my "shortcuts" too hard to understand.

Too bad. The effort they'd invest to understand why does this work would return tenfold once they realize they've become more profficient.

It's probably my mathematical background that always pushes me to know the why, not only how. I have noticed this "this is the way you do it and don't ask why" approach in engineering studies; they even may know more maths than I've learned (well, in some areas), but most of them never had the time nor the inclination to look behind the curtains. That's why some of them end up knowing a way to do something, but that wouldn't do in Fox - it's at least three ways, or no way :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform