vba <> 是什么意思?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/532435/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What does <> mean?
提问by mmattax
I have seen this before in SQL and VB, I am now reverse engineering an Excel speadsheet and have come across the following formula:
我之前在 SQL 和 VB 中见过这个,我现在正在对 Excel 电子表格进行逆向工程,并遇到以下公式:
=IF(D23<>0,"Insufficent",0)
I am converting it to ActionScript:
我正在将其转换为 ActionScript:
var result:String = [condition] ? 0 : "Insufficient";
but I am unsure of what D23 <> 0 means, is it simply "not equal"?
但我不确定 D23 <> 0 是什么意思,它只是“不相等”吗?
回答by Binary Worrier
Yes, it means "not equal", either less than or greater than. e.g
是的,它的意思是“不等于”,要么小于要么大于。例如
If x <> y Then
can be read as
可以读作
if x is less than yorx is greater than ythen
如果x 小于 y或x大于 y那么
The logical outcome being "If x is anything exceptequal to y"
逻辑结果是“如果 x 是除了等于 y 的任何东西”
回答by SQLMenace
Yes in SQl <> is the same as != which is not equal.....excepts for NULLS of course, in that case you need to use IS NULL or IS NOT NULL
Yes in SQl <> 与 != 相同,不等于.....当然,NULLS 除外,在这种情况下,您需要使用 IS NULL 或 IS NOT NULL
回答by Kibbee
It means not equal to. The same as != seen in C style languages, as well as actionscript.
不等于的意思。与 != 在 C 风格语言以及 actionscript 中看到的相同。
回答by Jacob Mattison
Yes, it's "not equal".
是的,它“不相等”。
回答by Joshua Fox
"Does not equal"
“不等于”
回答by andistuder
could be a shorthand for React.Fragment
可能是 React.Fragment 的简写
回答by kalyanji
I instinctively read it as "different from". "!=" hits me milliseconds after.
我本能地把它读成“不同于”。“!=”在几毫秒后击中我。

