Automation Testing, Manual Testing, QTP/UFT 11 , QC/ALM 11 ,SAP TAO, Unix, Selenium, Oracle SQL, Shell Scripting and For Online Trinings to contact me : Cell:+91-8897972059 , Email Id : quicktestprotech@gmail.com

Tuesday, November 30, 2010

VB Script Keywords

VBScript Keywords

Keyword
Description
Empty
Used to indicate an uninitialized variable value. A variable value is uninitialized when it is first created and no value is assigned to it, or when a variable value is explicitly set to empty.
dim x   'the variable x is uninitialized!
x="ff"   'the variable x is NOT uninitialized anymore
x=empty   'the variable x is uninitialized!

Note: This is not the same as Null!!
False
Has a value equal to 0
Nothing
Used to disassociate an object variable from an object to release system resources.
Example: set myObject=Nothing
Null
Used to indicate that a variable contains no valid data.
Note: This is not the same as Empty!!
True
Has a value equal to -1

0 comments:

Post a Comment

Loading...