Microsoft® Visual Basic® Scripting Edition IsNull Function |
| Language Reference |
|
Returns a Boolean value that indicates whether an expression contains no valid data (Null).
IsNull(expression)The expression argument can be any expression.
IsNull returns True if expression is Null, that is, it contains no valid data; otherwise, IsNull returns False. If expression consists of more than one variable, Null in any constituent variable causes True to be returned for the entire expression.The Null value indicates that the variable contains no valid data. Null is not the same as Empty, which indicates that a variable has not yet been initialized. It is also not the same as a zero-length string, which is sometimes referred to as a null string.
Important Use the IsNull function to determine whether an expression contains a Null value. Expressions that you might expect to evaluate to True under some circumstances, such as If Var = Null and If Var <> Null, are always False. This is because any expression containing a Null is itself Null and therefore False.
file: /Techref/language/asp/vbs/vbscript/107.htm, 2KB, , updated: 1996/11/22 10:12, local time: 2024/11/5 08:20,
18.224.73.77:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/language/asp/vbs/vbscript/107.htm"> Microsoft® Visual Basic® Scripting Edition </A> |
Did you find what you needed? |