How many data types are supported in Vbscript?
Answer Posted / abbas khan
There is only one Data Type in vbScript , which is able to
store any kind values such as integer, string, double, date
etc. (We term it as Varient).
To know what kind of value a variable contains,
use "TypeName" keyword.
Example :
Var1 = "abcde"
Msgbox TypeName(Var1) 'OutPut will be string
Var2 = "1234"
Msgbox TypeName(Var2) 'OutPut will be integer
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you convert a given number to long in vbscript?
who will create the object?
What is purpose of scripting.filesystemobject class in vbscript?
Which keyword is used to declare a variable in the vbscript language?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
write any ttest cases using check points and parameterization
Why is the use of exit do or exit for statements within loops discouraged?
How to add actions in driver script to run those actions in QTP?
Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?
What is the purpose of on error resume next statement?
How to Import data from a file (file is on the desktop) to the data table
What is the technology used by vb script?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
Which data type/types are supported by vbscript language and what are their specialties?
How do you declare a variable in vbscript?