Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to get this result?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00651242
Message ID:
00651411
Views:
14
Bibo Ergo Sum: I drink therefore I am?

Bibo et pello ergo biblus sum: I drink and drive, therefore I am booked.



>>What I'm trying to achieve is a single, quick test that will compare 2 sets of states and give the following results:
>>
>>State1 State2 Result
>> T       T      T
>> T       F      F
>> F       T      T
>> F       F      T
>>
>>The first state indicated if something if being used and the second if access is granted. I really want to do this check when creating nodes for a treeview so speed is quite important.
>>
>>Can anyone point me to a solution?
>>Thanks in anticipation.
>
>What about:
>result = iif(state1==state2,.t., state2)
>
>Einar
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform