Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IIF() Evaluates Differently Than IF?
Message
From
13/08/1997 16:28:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00044321
Message ID:
00044549
Views:
31
> **************** > * The following code makes vp_dbfname = "" > **************** > iif(EMPTY(thisform.ctextbox1.Value),vp_dbfname = "", ; > vp_dbfname = thisform.ctextbox1.Value) > No it doesn't. It returns .t./.f. in one case, and .f./.t. in the other, but it surely doesn't set any variables to any values. The = sign here is comparison, not assignment.

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