+ -
当前位置:首页 → 问答吧 → if not 时为什么正数也是假呢?

if not 时为什么正数也是假呢?

时间:2011-08-20

来源:互联网

参考实例:
Dim i:i=1
If Not i Then 
response.write i&"为假"
Else
response.write i&"为真"
End If

为什么输出的结果是:“1为假”而不是真呢?不是只有0表示false的吗?

作者: zz_asp   发布时间: 2011-08-20

Dim i:i=1

????

作者: satherose   发布时间: 2011-08-20