Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To iif or not to iif = .t.
Message
 
To
31/05/2001 16:49:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00513276
Message ID:
00513443
Views:
16
>>Many of us, inculding myself, learned foxpro by debugging and enhancing applications written by someone else. And although I have a BS degree in CS, foxpro is the only language I've ever used professionally. Many of the annoyances listed in this thread I use all the time because that was the way I learned from someone else. I think a lot of you guys had a background in c where effeciency is god and iif's don't exist.
>
>foxpro: iif(testcondition, trueresult, falseresult)
>
>c: testcondition ? trueresult : falseresult

I knew I should'uv said that since I haven't seen c code in over 5 years. Thanks.
Rip Ryness
International Falls, MN
Previous
Reply
Map
View

Click here to load this message in the networking platform