是bug吗

黄_171743 2020-5-10 601


不是说“除了false和null 为不成立 外,其它都成立吗?下面if里的代码为什么不执行?
if 0=true //0不是成立(为真,即 true吗?)
TracePrint("test")
end if

最新回复 (2)
  • 987工作室 2020-5-10
    2

    你理解错了!

    下面这个才对

    if 0  
    TracePrint("test")
    end if

    if true
    TracePrint("test")
    end if


  • 财酱 2020-5-11
    3
    等号左边要放变量
返回
发新帖