VB6中IMP和EQV的逻辑功能是什么?有没有人发现它们在现实世界中有用? [英] What do the logical functions IMP and EQV do in VB6? Has anyone found a real world use for them?

查看:308
本文介绍了VB6中IMP和EQV的逻辑功能是什么?有没有人发现它们在现实世界中有用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

And Or Xor Imp Eqv .他们的意思是什么?他们如何到达那里?它们有什么实际用途吗?

And, Or, Xor and Not I understand. What I don't get are Imp and Eqv. What do they mean? How'd they get in there? Is there any real use for them?

推荐答案

IMP是实质性含义""a表示b"或"if a then b",相当于NOT a OR b. EQV是等价"或当且仅当",因此EQV b与(a IMP b)和(b IMP a)相同.

IMP is "material implication" "a implies b" or "if a then b", which is equivalent to NOT a OR b. EQV is "equivalence" or "if and only if", so a EQV b is the same as (a IMP b) AND (b IMP a).

他们之所以到达那里,是因为有人想要完成任务.它们可以缩短一些逻辑表达式,但是您始终可以使用NOT和AND,NOT AND OR或单独使用XOR来表达相同的内容.

They got there because someone wanted to be complete. They can shorten some logical expressions, but you can always express the same thing with NOT and AND, NOT and OR, or with XOR alone.

这篇关于VB6中IMP和EQV的逻辑功能是什么?有没有人发现它们在现实世界中有用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆