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
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
how to set one column as primary key in QTP and fetch values accordingly
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
how to operate webobjects in a webpage using getobject function and then using generic methods?
i need to sort the data using qtp script for this how i need to write a qtp script
Which function is used in the vbscript language to convert the specified expression into a date type value?
How will you get a combined string from array of string in vbscript?
What is the event handling in vbscript?
What is the use of the formatdatetime function in the vbscript language?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
Which operator is used to perform the comparison among 2 operands in the vbscript language?
Write a code to print numbers from 5 to 0?
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?