Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP9 and null values and NVL()
Message
From
24/07/2006 20:23:04
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
24/07/2006 14:26:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01139317
Message ID:
01139521
Views:
26
>I must be totally not undertanding the help:
>
>
>Null values persist through logical expressions in most cases. The following table describes the behavior of null values in logical expressions.
>
>Logical expression  Result if x=TRUE  Result if x=FALSE  Result if x=.NULL.
>x AND .NULL.            .NULL.             FALSE               .NULL.
>x OR .NULL.              TRUE              .NULL.              .NULL.
>NOT x                   FALSE              TRUE                .NULL.
>
>
This table just shows how the shorthand evaluation works - if the value of the logical expression can be decided from the first operand, then the second isn't evaluated.

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