"Invalid Use of Null" Error When Checking if chd(x.y) Returns a NOVALUE in a VBScript Primary Software: DIAdemPrimary Software Version: 9.0 Primary Software Fixed Version: N/A Secondary Software:
Problem: I want to check if a value in my channel is a NOVALUE. But when I use the code similar to the code below in a VBScript, I get an error that says "Invalid Use of Null": OR How do I get around this? Solution: A value of NOVALUE in DIAdem is converted to NULL in a VBScript. So, you will need to use the IsNull() method, like this: NOTE: In DIAdem 8.1, chdx(1,5) will return 9.9E+34 (the actual value of NOVALUE). Therefore, IsNull(chdx(1,5)) will return FALSE. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
