如何使用VBScript返回true false [英] How to return true false using VBScript
本文介绍了如何使用VBScript返回true false的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好
任何人都可以帮助我
如何在vb脚本函数中返回true false
tx提前
Hi all
can any body help me
How can I return true false in vb script function
tx in advance
推荐答案
没问题!
No problem!
Function Invert(x)
Dim returnValue
If x = False Then
returnValue = True
Else
returnValue = False
End If
Invert = returnValue
End Function
分配到函数名称将返回从所述函数分配的值。
关于VbScript的本教程: VBScript教程 [ ^ ]
问候,
Manfred
Assigning to the name of the function will return the value that was assigned from said function.
Dee this tutorial on VbScript: VBScript Tutorial[^]
Regards,
Manfred
这篇关于如何使用VBScript返回true false的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文