小编Dav*_*ing的帖子

自动为什么(0 <>"测试")为假

我从HTML表中获取数值.如果它无法获取值,我将填充值"NA".这是奇数部分0 <>"NA"为假,0 ="NA"为真,0 =""NA"为假.我得到=不区分大小写,并且==是,但我认为<>是区分大小写的...那么为什么它会像这样工作?

Local $x = 0
If $x <> "Test" Then
    MsgBox(0,"","x <> Test")
Else
    MsgBox(0,"","x = Test")
EndIf
Run Code Online (Sandbox Code Playgroud)

有了这个exaplle,我得到一个消息框"x = Test"

autoit logical-operators

1
推荐指数
1
解决办法
77
查看次数

标签 统计

autoit ×1

logical-operators ×1